index.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Форма авторизации</title>
  6. <link rel="stylesheet" href="index.css">
  7. </head>
  8. <body>
  9. <form class="form js-form"
  10. method="post"
  11. action=""
  12. >
  13. <div class="form__row">
  14. <label class="form__label"
  15. for="login"
  16. >Login</label>
  17. <input class="form__input js-form-login"
  18. type="text"
  19. id="login"
  20. >
  21. </div>
  22. <div class="form__row">
  23. <label class="form__label"
  24. for="password"
  25. >Password</label>
  26. <input class="form__input js-form-password"
  27. type="password"
  28. id="password"
  29. >
  30. </div>
  31. <button class="form__button"
  32. type="submit"
  33. >Login</button>
  34. <div class="alert alert-success js-alert js-alert-success"
  35. role="alert"
  36. >Authorization success</div>
  37. <div class="alert alert-danger js-alert js-alert-danger"
  38. role="alert"
  39. >Authorization error</div>
  40. </form>
  41. <script src="./index.js"></script>
  42. </body>
  43. </html>