-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
206 lines (200 loc) · 10.8 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="./assets/images/vaultkey_favicon.png" type="image/x-icon">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<!-- FontAwesome -->
<script src="https://kit.fontawesome.com/7ac16726b9.js" crossorigin="anonymous"></script>
<!-- CSS -->
<link rel="stylesheet" href="./assets/css/style.css">
<title>Vault Key</title>
<style>
#password-container {
position: relative;
display: inline-block;
width: 100%;
}
#password {
width: 100%;
}
</style>
</head>
<body>
<!-- navbar -->
<nav class="navbar">
<div class="container-fluid d-flex flex-row px-5 nav">
<span class="mb-0 py-4 display-6 text-center fw-bold">VaultKey <i class="fa-solid fa-key"></i></span>
<a href="#guide" class="text-white text-decoration-none nav-btn"><button class="rounded-5 bg-black text-white fw-bold">Get Started</button></a>
</div>
</nav>
<main>
<!-- header -->
<section id="header">
<div class="container-fluid text-center">
<div class="row">
<div class="col-12 col-sm-12 col-md-6 left text-left d-flex flex-column justify-content-sm-evenly p-5">
<p class="voted">Voted the best password generator <span class="badge bg-green">#1</span></p>
<h1 class="fw-bold display-4">Generate complex passwords<br>for extra security</h1>
<h3>Life is happening online. Work. Play. Family and friends. VaultKey puts your digital life at your fingertips, simply and securely.</h3>
<a href="#guide" class="text-white text-decoration-none"><button class="rounded-5 bg-black text-white fw-bold">Get Started</button></a>
<p class="text-muted mt-5">
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
<i class="fa-solid fa-star"></i>
2,000+ reviews - Trusted by 750,000+ users
</p>
</div>
<div class="col-12 col-sm-12 col-md-6 d-flex justify-content-center align-items-center right">
<img class="hero-image" src="./assets/images/hero-image.png" alt="password generator image">
</div>
</div>
</div>
</section>
<!-- instructions -->
<section id="guide">
<div class="container text-center">
<p class="text-uppercase text-green">In a few steps</p>
<h3 class="fw-bold guide-header">Get a randomised password every time</h3>
<div class="row">
<div class="col number-align">
<div class="number">
<i class="fa-solid fa-1"></i>
</div>
<p class="description">Choose your password length</p>
</div>
<div class="col number-align">
<div class="number">
<i class="fa-solid fa-2"></i>
</div>
<p class="description">Choose if you want special characters</p>
</div>
<div class="col number-align">
<div class="number">
<i class="fa-solid fa-3"></i>
</div>
<p class="description">Choose if you want numbers</p>
</div>
<div class="col number-align">
<div class="number">
<i class="fa-solid fa-4"></i>
</div>
<p class="description">Choose if you want lowercase characters</p>
</div>
<div class="col number-align">
<div class="number">
<i class="fa-solid fa-5"></i>
</div>
<p class="description">Choose if you want uppercase characters</p>
</div>
</div>
<p class="text-green mt-4">You must choose a password length <span class="text-decoration-underline">and</span> at least one character option</p>
</div>
</section>
<!-- password generator -->
<section id="generator" class="p-5">
<div class="container-fluid">
<form action="">
<div class="row column-gap-5 row-gap-5">
<div class="col input-style">
<label for="length" class="required mb-3"><span class="fw-bold badge bg-green">Step 1:</span> Password length (Between 8 and 128):</label>
<input type="number" id="length" class="form-control w-75" name="length" min="8" max="128" step="1" required>
</div>
<div class="col input-style">
<p><span class="fw-bold badge bg-green">Step 2:</span> Would you like to include special characters?</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="special-char" id="special-char1">
<label class="form-check-label" for="special-char1">
Yes
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="special-char" id="special-char2">
<label class="form-check-label" for="special-char2">
No
</label>
</div>
</div>
<div class="col input-style">
<p><span class="fw-bold badge bg-green">Step 3:</span> Would you like to include numbers?</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="numbers" id="numbers1">
<label class="form-check-label" for="numbers1">
Yes
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="numbers" id="numbers2">
<label class="form-check-label" for="numbers2">
No
</label>
</div>
</div>
<div class="col input-style">
<p><span class="fw-bold badge bg-green">Step 4:</span> Would you like to include lowercase letters?</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="lowercase" id="lowercase1">
<label class="form-check-label" for="lowercase1">
Yes
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="lowercase" id="lowercase2">
<label class="form-check-label" for="lowercase2">
No
</label>
</div>
</div>
<div class="col input-style">
<p><span class="fw-bold badge bg-green">Step 5:</span> Would you like to include uppercase letters?</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="uppercase" id="uppercase1">
<label class="form-check-label" for="uppercase1">
Yes
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="uppercase" id="uppercase2">
<label class="form-check-label" for="uppercase2">
No
</label>
</div>
</div>
</div>
</form>
<div class="mt-5">
<div id="password-container">
<textarea
readonly
id="password"
placeholder="Your Secure Password"
aria-label="Generated Password"
class="overflow-auto form-control"
></textarea>
<span class="copy-icon copyIcon" id="copy-icon"><i class="fa-solid fa-copy"></i></span>
</div>
<div class="card-footer">
<button id="generate" class="rounded-5 bg-black text-white fw-bold mt-5 d-flex justify-content-center align-items-center mx-auto w-100">Generate Password</button>
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="d-flex flex-column text-center">
<span class="mb-0 py-4 display-6 text-center fw-bold">VaultKey <i class="fa-solid fa-key"></i></span>
<p class="fw-bold">Create complex passwords with us</p>
<p id="currentYear"></p>
</div>
</footer>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+" crossorigin="anonymous"></script>
<!-- JS -->
<script src="assets/js/script.js"></script>
</body>
</html>