-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
86 lines (69 loc) · 2.77 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!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">
<title>Form Validation js</title>
</head>
<body>
<div class ="container">
<div class ="header">
<h2>Create Account</h2>
</div>
<form class="form" id="form">
<div class ="form-control ">
<label >Full Name</label>
<input type="text" id="fullName" placeholder="Enter your Full Name">
<i class="fas fa-check-circle"></i>
<i class="fas fa-exclamation-circle"></i>
<small> Error message </small>
</div>
<div class ="form-control ">
<label >Age</label>
<input type="number" id="age" placeholder="Enter your age">
<small> Error message </small>
</div>
<div class ="form-control ">
<label >Email</label>
<input type="text" id="email" placeholder="Enter you email adress">
<i class="fas fa-check-circle"></i>
<i class="fas fa-exclamation-circle"></i>
<small> Error message </small>
</div>
<div class="form-control">
<label>Your Gender</label>
<select name="gender" id="gender">
<option value="default" selected>-- select an option --</option>
<option value="male">Male</option>
<option value="female">Female</option>
</select>
<small> Error message </small>
</div>
<div class ="form-control ">
<label >Phone Number</label>
<input type="number" id="phoneNumber" placeholder="Enter your phone number">
<small> Error message </small>
</div>
<div class ="form-control">
<label >Password</label>
<input type="password" id="password" placeholder="Enter your password">
<i class="fas fa-check-circle"></i>
<i class="fas fa-exclamation-circle"></i>
<small> Error message </small>
</div>
<div class ="form-control">
<label >Password check</label>
<input type="password" id="checkPassword" placeholder="check your password">
<i class="fas fa-check-circle"></i>
<i class="fas fa-exclamation-circle"></i>
<small> Error message </small>
</div>
<button>submit </button>
</form>
</div>
<!-- script / js -->
<script src="./script.js"></script>
</body>
</html>