-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (58 loc) · 2.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Password Generator</title>
<!-- CSS Style -->
<link rel="stylesheet" href="styles.css">
<!-- JavaScript -->
<script src="index.js" type="module" defer></script>
<script src="modeswitch.js" defer></script>
</head>
<body>
<main>
<header>
<h1>Generate a <span>random password</span></h1>
<p>Never use an insecure password again.</p>
<div id="mode-switch">
<img src="moon.svg" alt="">
</div>
</header>
<form action="">
<fieldset>
<label for="input">Password length</label>
<input id="input" type="number" value="8">
</fieldset>
<fieldset>
<label for="numbers">Include Numbers</label>
<div class="check-container">
<input type="checkbox" id="numbers" checked/>
<div class="knobs"></div>
<div class="layer"></div>
</div>
</fieldset>
<fieldset>
<label for="symbols">Include Symbols</label>
<div class="check-container r">
<input type="checkbox" id="symbols" checked />
<div class="knobs"></div>
<div class="layer"></div>
</div>
</fieldset>
</form>
<button>Generate passwords</button>
<hr>
<div class="psContainer">
<div class="password-el">Password 1</div>
<div class="password-el">Password 2</div>
</div>
<p class="copy-notice">Click any password to copy to clipboard</p>
</main>
<footer>
<p>
Made with ❤️ by <a href="https://github.com/Ifescohub" target="_blank">Udeh Ifeanyi</a>
</p>
</footer>
</body>
</html>