-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (62 loc) · 2.19 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
<!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://use.fontawesome.com/releases/v5.15.2/css/all.css"
integrity="sha384-vSIIfh2YWi9wW0r9iZe7RJPrKwp6bG+s9QZMoITbCckVJqGCCRhc+ccxNcdpHuYu"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="style.css" />
<script src="script.js"></script>
<title>Form Validation</title>
</head>
<body>
<div class="card">
<h2>Create Account</h2>
<p>It's free and hardly takes more than 30 seconds.</p>
<form id="myForm" onsubmit="return validate()" action="welcome.html">
<div class="form-group">
<label for="username"><i class="fas fa-user"></i></label>
<input type="text" id="username" required placeholder="Username" />
</div>
<br /><br />
<div class="form-group">
<label for="usermail"><i class="fab fa-telegram-plane"></i></label>
<input
type="email"
required
id="usermail"
placeholder="Email Address"
/>
</div>
<br /><br />
<div class="form-group">
<label for="psw"><i class="fas fa-lock"></i> </label>
<input type="password" id="psw" required placeholder="Password" />
<label><i class="fa fa-eye" id="show" onclick="showPsw()"></i></label>
</div>
<br /><br />
<div class="form-group">
<label for="re-psw"><i class="fas fa-lock"></i></label>
<input
type="password"
id="re-psw"
required
placeholder="Confirm Password"
/>
</div>
<label class="errorMsg" id="invalidRePsw">Password Not Matching !</label
><br />
<input type="submit" value="Sign Up" />
</form>
<p class="terms">
By clicking the Sign Up button, you agree to our
<a href="#">Terms & Conditions</a>, and <a href="#">Privacy Policy</a>.
</p>
</div>
</body>
</html>