Spaces:
Running
Running
Create templates/chat.html
Browse files- templates/chat.html +9 -0
templates/chat.html
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html><body>
|
3 |
+
<h2>Chat Room</h2>
|
4 |
+
<div id="chat" style="height:300px;overflow:auto;border:1px solid #333;"></div>
|
5 |
+
<input id="msg" autocomplete="off"><button id="send">Send</button>
|
6 |
+
<button id="leave">Leave</button>
|
7 |
+
<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/4.6.1/socket.io.min.js"></script>
|
8 |
+
<script src="/static/chat.js"></script>
|
9 |
+
</body></html>
|