-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (45 loc) · 1.47 KB
/
index.html
File metadata and controls
48 lines (45 loc) · 1.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Form Validator</title>
<link rel="stylesheet" href="style.css" />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap" rel="stylesheet" />
</head>
<body>
<!-- main container -->
<div class="container">
<form id="registration-form">
<h1>Register</h1>
<!-- username field -->
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" placeholder="Enter username" />
<small></small>
</div>
<!-- email field -->
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" placeholder="Enter email" />
<small></small>
</div>
<!-- password field -->
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" placeholder="Enter password" />
<small></small>
</div>
<!-- confirm password field -->
<div class="form-group">
<label for="confirmPassword">Confirm Password</label>
<input type="password" id="confirmPassword" placeholder="Confirm Password" />
<small></small>
</div>
<!-- submit button -->
<button type="submit">Register</button>
</form>
</div>
<script src="script.js"></script>
</body>
</html>