NihalGazi commited on
Commit
afc20a7
·
verified ·
1 Parent(s): 6423a65

Create templates/chat.html

Browse files
Files changed (1) hide show
  1. 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>