index.html 787 B

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>Simple Chat on SOCKET IO</title>
  6. <link rel="stylesheet" href="style.css">
  7. <script src="./socket/socket.io.js"></script>
  8. </head>
  9. <body>
  10. <div class="container">
  11. <h2>Simple Chat on SOCKET IO</h2>
  12. <div class="wrapper">
  13. <input type="text" id='nickname'>
  14. <label for="nickname">Enter NickName</label>
  15. <div>
  16. <input type="text" id='message'>
  17. <label for="nickname">Enter your message</label>
  18. <button class='btn'>Send message</button>
  19. </div>
  20. </div>
  21. <div id="answer"></div>
  22. </div>
  23. <script src="script.js"></script>
  24. </body>
  25. </html>