-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (69 loc) · 3.26 KB
/
index.html
File metadata and controls
69 lines (69 loc) · 3.26 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png">
<link rel="stylesheet" href="/style.css">
<script src="/index.js" defer></script>
<title>Password generator app</title>
</head>
<body>
<main>
<h1>Password Generator</h1>
<div class="password-container">
<p id="password" class="disabled">P4$5W0rD!</p>
<div class="copy-container">
<p id="copied-text" class="hidden">Copied</p>
<svg id="icon-copy" width="21" height="24" xmlns="http://www.w3.org/2000/svg">
<path d="M20.341 3.091 17.909.659A2.25 2.25 0 0 0 16.319 0H8.25A2.25 2.25 0 0 0 6 2.25V4.5H2.25A2.25 2.25 0 0 0 0 6.75v15A2.25 2.25 0 0 0 2.25 24h10.5A2.25 2.25 0 0 0 15 21.75V19.5h3.75A2.25 2.25 0 0 0 21 17.25V4.682a2.25 2.25 0 0 0-.659-1.591ZM12.469 21.75H2.53a.281.281 0 0 1-.281-.281V7.03a.281.281 0 0 1 .281-.281H6v10.5a2.25 2.25 0 0 0 2.25 2.25h4.5v1.969a.282.282 0 0 1-.281.281Zm6-4.5H8.53a.281.281 0 0 1-.281-.281V2.53a.281.281 0 0 1 .281-.281H13.5v4.125c0 .621.504 1.125 1.125 1.125h4.125v9.469a.282.282 0 0 1-.281.281Zm.281-12h-3v-3h.451c.075 0 .147.03.2.082L18.667 4.6a.283.283 0 0 1 .082.199v.451Z" fill="currentColor"/>
</svg>
</div>
</div>
<form id="pass-form" action="javascript:void(0)">
<div class="character-length">
<div class="label">
<label for="character-length">Character Length</label><span id="length-number">4</span>
</div>
<input type="range" name="character-length" id="character-length-range" min="4" max="22" value="4">
</div>
<div id="checkboxes-group">
<div class="uppercase-group">
<input type="checkbox" name="uppercase" id="uppercase-check" class="checkbox">
<label for="uppercase-check">Include Uppercase Letters</label>
</div>
<div class="lowercase-group">
<input type="checkbox" name="lowercase" id="lowercase-check" class="checkbox">
<label for="lowercase-check">Include Lowercase Letters</label>
</div>
<div class="numbers-group">
<input type="checkbox" name="numbers" id="numbers-check" class="checkbox">
<label for="numbers-check">Include Numbers</label>
</div>
<div class="symbols-group">
<input type="checkbox" name="symbols" id="symbols-check" class="checkbox">
<label for="symbols-check">Include Symbols</label>
</div>
</div>
<div class="strength-container">
<p>Strength</p>
<div class="strength-indicator">
<p id="strength-word"></p>
<div id="strength-visual" class="">
<div id="rect-1" class="rectangle"></div>
<div id="rect-2" class="rectangle"></div>
<div id="rect-3" class="rectangle"></div>
<div id="rect-4" class="rectangle"></div>
</div>
</div>
</div>
<button id="submit-button">
Generate
<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg">
<path fill="currentColor" d="m5.106 12 6-6-6-6-1.265 1.265 3.841 3.84H.001v1.79h7.681l-3.841 3.84z"/>
</svg>
</button>
</form>
</main>
</body>
</html>