-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (42 loc) · 1.93 KB
/
Copy pathindex.html
File metadata and controls
55 lines (42 loc) · 1.93 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
49
50
51
52
53
54
55
<html lang="en">
<head>
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="form-validation.css">
<title>Form Validation</title>
</head>
<body>
<div class="wrapper">
<form>
<h1>Form Validation Register</h1>
<div class="input-box">
<i class='bx bxs-user'></i>
<input type="text" placeholder="Username" id="username" class="clean" required autocomplete="off" />
<div class="error text-danger" id="usernameerror"></div>
</div>
<div class="input-box">
<i class='bx bxs-envelope'></i>
<input type="email" placeholder="Email" id="email" class="clean" required autocomplete="off"/>
<div class="error text-danger" id="emailerror"></div>
</div>
<div class="input-box">
<i class='bx bxs-phone'></i>
<input type="number" placeholder="Phone number" id="phone_no" class="clean" required autocomplete="off" />
<div class="error text-danger" id="phoneerror"></div>
</div>
<div class="input-box">
<i class='bx bxs-lock-alt'></i>
<input type="password" placeholder="Password" id="password" class="clean" required autocomplete="off" />
<div class="error text-danger" id="passworderror"></div>
</div>
<div class="input-box">
<i class='bx bxs-lock-alt'></i>
<input type="password" placeholder="Confirm Password" id="confirm_password" class="clean" required autocomplete="off" />
<div class="error text-danger" id="cpassworderror"></div>
</div>
<button type="submit" class="btn formSubmit">Submit</button>
</form>
</div>
<script src="main.js"></script>
</body>
</html>