index.html 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Document</title>
  8. <link rel="stylesheet" href="style.css">
  9. </head>
  10. <body>
  11. <div class="chat__wrapper">
  12. <div class="chat__messages-box">
  13. </div>
  14. <div class="chat__inputs-wrapp">
  15. <input class="chat__input chat__input--nick" type="text" name="user-nick" maxlength="10" placeholder="Ваш nickname">
  16. <input class="chat__input chat__input--message" type="text" name="user-message" maxlength="350" placeholder="Ваше сообщение">
  17. <button class="chat__send-button"><span class="visually-hidden">Отправить</span></button>
  18. </div>
  19. </div>
  20. <template id="chat__message-template">
  21. <div class="chat__message-wrap">
  22. <div class="chat__message-head">
  23. <span class="chat__user-nick">User nick</span>
  24. <span class="chat__timespan">20:53</span>
  25. </div>
  26. <p class="chat__user-message">User message</p>
  27. </div>
  28. </template>
  29. <script src="main.js"></script>
  30. </body>
  31. </html>