Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <link rel="stylesheet" href="style.css">
- <title>Project 1 | Form Validator</title>
- </head>
- <body>
- <div class="container">
- <form class="form" id="form">
- <h2>Register With Us</h2>
- <div class="form-control success">
- <label for="username">Username</label>
- <input type="text" id="username" placeholder="Username">
- <small class="success">Error Message</small>
- </div>
- <div class="form-control danger">
- <label for="email">E-mail</label>
- <input type="text" id="email" placeholder="E-mail">
- <small>Error Message</small>
- </div>
- <div class="form-control">
- <label for="password">Password</label>
- <input type="password" id="password" placeholder="Password">
- <small>Error Message</small>
- </div>
- <div class="form-control">
- <label for="password-confirm">Confirm Password</label>
- <input type="password" id="password-confirm" placeholder="Confirm Password">
- <small>Error Message</small>
- </div>
- <button type="reset" id="clear">Clear Form</button>
- <button>Submit</button>
- </form>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement