-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
114 lines (111 loc) · 3.96 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="https://fav.farm/🧙♂️" />
<title>Password-Genius</title>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="main.css" />
</head>
<body>
<header class="container site-header">
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="#">Password Genius</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarNav"
aria-controls="navbarNav"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a
class="nav-link dropdown-toggle"
href="#"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Choose CSS
</a>
<ul class="dropdown-menu">
<li>
<a
class="dropdown-item stylesheet"
href="#"
data-stylesheet="default"
>Default</a
>
</li>
<li>
<a
class="dropdown-item stylesheet"
href="#"
data-stylesheet="jeff-how"
>Jeff-How</a
>
</li>
</ul>
</li>
</ul>
</div><!--/.navbar-collapse-->
</div><!--/.container-fluid -->
</nav>
</header>
<main class="container site-main">
<h1>Cool Password Checker</h1>
<section class="form">
<label for="birthdate">Enter your birthdate</label>
<input type="date" name="birthdate" id="birthdate" />
<label for="username">Username</label>
<input type="text" name="username" id="username" />
<label for="name">Name</label>
<input type="text" name="name" id="name" />
<label for="password">New Password</label>
<input type="password" name="password" id="password" />
</section>
<section class="requirements">
<h2>Requirements</h2>
<ul>
<li class="valid">
Can't be same as your current password (Birthdate)
</li>
<li>Can't be the same as your last 12 passwords</li>
<li>Can't contain your username.</li>
<li class="invalid">Can't contain the word, "password"</li>
<li>Can't contain more than 2 letters in your name (in order).</li>
<li>Must be at least 8 characters</li>
<li>Must contain at least 1 uppercase</li>
<li>Must contain at least 1 lowercase</li>
<li>Must contain a number</li>
<li>Must contain a symbol</li>
</ul>
</section>
</main>
<footer class="container site-footer">
© 2023
<a href="https://techhigh.us" target="_blank"
>Worcester Technical High School</a
>
</footer>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"
></script>
<script src="password-checker.js"></script>
</body>
</html>