1234567891011121314151617181920212223242526272829 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>HW1</title>
- <style>
- #message {
- width: 120px;
- font-size: 18px;
- }
- .success-message {
- background-color: palegreen;
- }
- .fail-message {
- background-color: #ff6b6b;
- }
- </style>
- </head>
- <body>
- <div>
- <form>
- <input type="text" id="login" placeholder="login">
- <input type="text" id="password" placeholder="password">
- <button id="login-btn">Log in</button>
- </form>
- </div>
- <script src="index.js"></script>
- </body>
- </html>
|