index.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>Document</title>
  7. <script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.2.0/socket.io.js"></script>
  8. <link rel="stylesheet" href="reset/reset.css" />
  9. <link rel="stylesheet" href="style.css" />
  10. </head>
  11. <body>
  12. <div class="container">
  13. <main class="main">
  14. <div id="chat"></div>
  15. </main>
  16. <div id="user">
  17. <p>
  18. <input type="text" id="nick" placeholder="Nick" value="Emmanuil" />
  19. <input type="text" id="message" placeholder="Message" />
  20. </p>
  21. <input type="submit" id="send" value="Send"/>
  22. </div>
  23. <div id="emojis">
  24. <div>
  25. <span id="e_1" class="emoji" data-src="graphics/emojis/bowtie.png"
  26. ><img
  27. src="bowtie.png"
  28. alt=""/></span
  29. >:<span
  30. class="name"
  31. data-alternative-name="classy, bow, face, formal, fashion, suit, magic, circus"
  32. >bowtie</span
  33. >:
  34. </div>
  35. <!-- <div>
  36. <span id="e_2" class="emoji" data-src="graphics/emojis/smile.png"
  37. ><img
  38. src="https://www.webfx.com/tools/emoji-cheat-sheet/graphics/emojis/smile.png"
  39. alt="" /></span
  40. >:<span
  41. class="name"
  42. data-alternative-name="happy, cheerful, face, joy, funny, haha, laugh, like"
  43. >smile</span
  44. >:
  45. </div> -->
  46. </div>
  47. </div>
  48. <script src="js.js"></script>
  49. <!-- <script src="smiles.json"></script> -->
  50. </body>
  51. </html>