-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (57 loc) · 2.23 KB
/
index.html
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
<!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" />
<link rel="stylesheet" href="style.css" />
<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=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap"
rel="stylesheet"
/>
<title>Form Validator</title>
</head>
<body>
<div class="container">
<form class="form" id="form">
<h2>Register With Us</h2>
<div class="form-control">
<label for="username">Username</label>
<input
id="username"
type="text"
placeholder="Enter Username"
/>
<small>Error message</small>
</div>
<div class="form-control">
<label for="email">Email</label>
<input id="email" type="text" placeholder="Enter Email" />
<small>Error message</small>
</div>
<div class="form-control">
<label for="password ">Password </label>
<input
id="password "
type="password"
placeholder="Enter Password "
/>
<small>Error message</small>
</div>
<div class="form-control">
<label for="password2">Confirm Password</label>
<input
id="password2"
type="password"
placeholder="Enter password again"
/>
<small>Error message</small>
</div>
<button type="submit">Submit</button>
</form>
</div>
<script src="script.js"></script>
</body>
</html>