-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (47 loc) · 1.76 KB
/
index.html
File metadata and controls
50 lines (47 loc) · 1.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4232762860843199"
crossorigin="anonymous"></script>
<meta charset="UTF-8">
<title>Password Strength Checker</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="css/styles.css"/>
</head>
<body>
<div class="container">
<h1 class="display-3 text-center">Password Strength Checker</h1>
<div class="input-group">
<input
type="password"
id="password"
class="form-control"
name="passwordType"
aria-label="Enter a password:"
onkeyup="getPassword()"/>
<span class="input-group-btn">
<button
id="togglePW"
class="btn btn-secondary"
type="button"
style="cursor:pointer;"
onclick="togglePassword();">Show Password</button>
</span>
</div>
<br/>
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-4">Password has:</h1>
<ul class="lead list-group" id="requirements">
<li id="length" class="list-group-item">At least 8 characters</li>
<li id="lowercase" class="list-group-item">At least 1 lowercase letter</li>
<li id="uppercase" class="list-group-item">At least 1 uppercase letter</li>
<li id="number" class="list-group-item">At least 1 numerical number</li>
<li id="special" class="list-group-item">At least 1 special character</li>
</ul>
</div>
</div>
</div>
<script type="text/javascript" src="js/checkpw.js"></script>
</body>
</html>