index.html 620 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>hw-js-12-async-promise: CHAT</title>
  7. <link href="index.css" rel="stylesheet" type="text/css" />
  8. <script src="http://code.jquery.com/jquery-3.1.1.min.js"></script>
  9. </head>
  10. <body>
  11. <div class="inputWrapper">
  12. <input type='text' id='nick' placeholder='nick'>
  13. <textarea type='text' id='msg' placeholder='message' style="height:100px;"></textarea>
  14. <button id='send'>Send</button>
  15. </div>
  16. <div id="root"></div>
  17. <div id='chat'>
  18. </div>
  19. <script src="/js/chat.js" ></script>
  20. </body>
  21. </html>