-
-
Notifications
You must be signed in to change notification settings - Fork 519
/
Copy pathindex.html
97 lines (93 loc) · 2.94 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
87
88
89
90
91
92
93
94
95
96
97
<!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" />
<!-- stylesheet -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"
/>
<link rel="stylesheet" href="style.css" />
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<title>Form-validtion</title>
</head>
<body>
<div class="container">
<div class="header">
<h2>REGISTRATION FORM</h2>
</div>
<form action="" class="form" id="form">
<div class="form-control">
<label for="">Username</label>
<input
type="text"
name=""
id="uname"
placeholder="Enter your full name"
autocomplete="off"
/>
<i class="bi bi-check-circle-fill"></i>
<i class="bi bi-exclamation-circle-fill"></i>
<small>Error msg</small>
</div>
<div class="form-control">
<label for="">Email</label>
<input
type="email"
name=""
id="email"
placeholder="Enter your email"
autocomplete="off"
/>
<i class="bi bi-check-circle-fill"></i>
<i class="bi bi-exclamation-circle-fill"></i>
<small>Error msg</small>
</div>
<div class="form-control">
<label for="">Phone Number</label>
<input
type="number"
name=""
id="number"
placeholder="Enter your Phone number"
autocomplete="off"
/>
<i class="bi bi-check-circle-fill"></i>
<i class="bi bi-exclamation-circle-fill"></i>
<small>Error msg</small>
</div>
<div class="form-control">
<label for="">Password</label>
<input
type="password"
name=""
id="password"
placeholder="Enter your password"
autocomplete="off"
/>
<i class="bi bi-check-circle-fill"></i>
<i class="bi bi-exclamation-circle-fill"></i>
<small>Error msg</small>
</div>
<div class="form-control">
<label for="">Confirm Password</label>
<input
type="password"
name=""
id="cpassword"
placeholder="Enter your password again"
autocomplete="0ff"
/>
<i class="bi bi-check-circle-fill"></i>
<i class="bi bi-exclamation-circle-fill"></i>
<small>Error msg</small>
</div>
<input type="submit" value="Submit" class="btn" />
</form>
</div>
<!-- js -->
<script src="script.js"></script>
</body>
</html>