-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (40 loc) · 1.67 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Form Validation</title>
<link rel="stylesheet" href="style.css">
<script defer src="script.js" charset="utf-8"></script>
</head>
<body>
<h1 class="heading" > Validation Form </h1>
<form id="form-validation" action="index1.html">
<div class="errors">
<h3 class="errors-title">Error</h3>
<ul class="errors-list">
</ul>
</div>
<div class="form-item">
<label for="username"><strong>Username</strong></label>
<input type="text" id="username" name="username" >
</div>
<div class="form-item">
<label for="password"><strong>Password</strong></label>
<input type="password" id="password" name="password" >
<input type="checkbox" id="password-show" name="password-show">
<label class="show-password-label" for="password-show">Show Password</label>
</div>
<div class="form-item">
<label for="password-confirmation"><strong>Confirm Password</strong></label>
<input type="password" id="password-confirmation" name="password-confirmation" >
<input type="checkbox" id="password-confirmation-show" name="password-confirmation-show">
<label class="show-password-label" for="password-confirmation-show">Show Password</label>
</div>
<div class="form-item">
<input type="checkbox" id="terms" name="terms" value="false">
<label for="terms">Agree to Terms? </label>
</div>
<button type="submit" name="submit-button" class="submit-button">Submit</button>
</form>
</body>
</html>