-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (41 loc) · 1.71 KB
/
index.html
File metadata and controls
49 lines (41 loc) · 1.71 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form Validation...</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="externalContainer">
<div class="heading">
<h1>Create a new Account</h1>
</div>
<form class="form" id="form">
<div class="container">
<label for="username">Username</label>
<input type="text" id="username" >
<small id="usernameText">Username can't be blank</small>
</div>
<div class="container">
<label for="email">Email</label>
<input type="email" id="email">
<small id="emailText">Enter a valid email address</small>
</div>
<div class="container">
<label for="password1">Password</label>
<input type="password" id="password1">
<small id="password1Text">Password should be 8 characters long</small>
</div>
<div class="container">
<label for="password2">Passsword Confirmation</label>
<input type="password" id="password2">
<small id="password2Text">Password confirmation required</small>
</div>
<button type="submit" class="submit" id="submit">Create Account</button>
</form>
</div>
</body>
<script src="script.js"></script>
</html>