HTMLify
index.html
Views: 450 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Login 01</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Mulish&display=swap" rel="stylesheet" > <link rel="stylesheet" href="style.css"> </head> <body> <div class="background"></div> <div class="centering"> <form class="my-form"> <div class="login-welcome-row"> <img class="login-welcome" src="astronaut.jpg" alt="Astronaut" > <!-- optimize the image in production --> <h1>LogIn!</h1> </div> <div class="text-field"> <label for="email">Email:</label> <input aria-label="Email" type="email" id="email" name="email" placeholder="Your Email" required > <img alt="Email Icon" title="Email Icon" src="email.svg" > </div> <div class="text-field"> <label for="password">Password:</label> <input id="password" type="password" aria-label="Password" name="password" placeholder="Your Password" title="Minimum 6 characters at least 1 Alphabet and 1 Number" pattern="^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{6,}$" required > <img alt="Password Icon" title="Password Icon" src="password.svg" > </div> <input type="submit" class="my-form__button" value="Login" > <div class="my-form__actions"> <div class="my-form__row"> <span>Did you forget your password?</span> <a href="#" title="Reset Password">Reset Password</a> </div> <div class="my-form__signup"> <a href="#" title="Create Account">Create Account</a> </div> </div> </form> </div> <script src="script.js"></script> </body> </html> |