123456789101112131415161718192021222324252627282930313233 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>js01_task2</title>
- <style>
- #success {
- display: none;
- color: green;
- }
- #wrong {
- display: none;
- color: red;
- }
- </style>
- </head>
- <body>
-
- <form >
- <label for="login">Login: </label><br>
- <input type="text" id="login"><br>
- <label for="password">Password: </label><br>
- <input type="password" id="password">
- <p>
- <input type="submit" id="submit">
- </p>
- </form>
- <div id="success">success</div>
- <div id="wrong">Wrong login or password</div>
- <script src="js/main.js"></script>
- </body>
- </html>
|