Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<title>Collaborative Code Editor</title>
</head>
<body>
<textarea id="code-editor" rows="30" cols="70"></textarea>

<script src="/socket.io/socket.io.js"></script>
<script>
const socket = io();

const codeEditor = document.getElementById('code-editor');
codeEditor.addEventListener('input', () => {
socket.emit('code change', codeEditor.value);
});

socket.on('code update', (data) => {
codeEditor.value = data;
});
</script>
</body>
</html>
3 changes: 3 additions & 0 deletions kerr-intro.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hello I'm Kedasha and I like to eat Jamaican food. I'm from the Caribbean and I love to cook.

I'm a software engineer and I love to code. I'm a big fan of Python and I'm always looking for new ways to improve my skills.
1 change: 1 addition & 0 deletions node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading