-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (53 loc) · 2.45 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
<!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="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css" />
<link rel="stylesheet" href="styles.css">
<title>Registration Form</title>
</head>
<body>
<div class="container">
<div class="header">Registration Form</div>
<form action="/success.html" onsubmit="Submission()">
<div class="form-area">
<div class="input-field">
<span class="details">Full Name</span>
<input type="text" placeholder="Enter your full name" onChange="checkName()" id="name" required>
</div>
<div class="input-field">
<span class="details">Username</span>
<input type="text" placeholder="Create a Username" required>
</div>
<div class="input-field">
<span class="details">Email</span>
<input type="email" placeholder="Enter a valid Email-ID" onChange="checkEmail()" id="email" required>
</div>
<div class="input-field">
<span class="details">Mobile Number</span>
<input type="text" placeholder="Enter your Mobile Number" onChange="checkMobile()" id="mob" disabled required>
</div>
<div class="input-field">
<span class="details">Password</span>
<span class="showpass" onclick="showPass()"><i class="bi bi-eye-slash" id="togglePassword"></i></span>
<input type="password" id="pass" placeholder="Enter password" onChange="checkPass()" disabled required>
</div>
<div class="input-field">
<span class="details">Confirm Password</span>
<input type="password" id="confirmpass" placeholder="Re-enter the Password" onChange="checkConfirm()" disabled required>
</div>
<div class="checkbox">
<input type="checkbox" class="ok" id="ok" name="ok" value="true" onchange="checkAllValid()">
<label for="ok"> Confirm all inputs</label>
</div>
</div>
<div class="button">
<input type="submit" id="submit" value="Submit" disabled>
</div>
</form>
</div>
<script src="script.js"></script>
</body>
</html>