-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (78 loc) · 2.15 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
<!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"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css"
/>
<title>Strong Password</title>
</head>
<body>
<div class="container">
<div>
<h1><i class="fas fa-code"></i> Validate Your Password</h1>
<h2>Your password</h2>
</div>
<div class="text-div1">
<p>Must contain</p>
<ul>
<li>At least 8 characters</li>
<li>An uppercase letter</li>
<li>A special character</li>
<li>A number</li>
</ul>
</div>
<div class="text-div3">
<p>Better to have</p>
<ul>
<li>10 characters</li>
</ul>
</div>
<div class="text-div2">
<p>Should avoid</p>
<ul>
<li>Spaces</li>
<li>Less than 8 characters</li>
<li>More than 20 characters</li>
</ul>
</div>
<div class="form-wrapper">
<form class="pword-input-div" id="getform">
<div>
<label for="password">Enter Password</label>
<div class="pass-wrapper">
<input
type="password"
id="password"
placeholder="Password"
autocomplete="off"
required
/>
<i class="fas fa-eye" id="togglePassword"></i>
</div>
<div>
<input type="submit" id="submit" value="Validate" />
<input
type="reset"
value="Reset"
onclick="window.location.href=window.location.href"
/>
</div>
</div>
</form>
</div>
<div class="pass-strength">
<p>Password Strength</p>
<p><span>Weak</span><span>Okay</span><span>Strong</span></p>
</div>
</div>
<script src="app.js"></script>
</body>
</html>