-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (46 loc) · 2.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>drand PassGen</title>
<!-- stylesheet -->
<link rel="stylesheet" href="styles.css">
<!-- viewport tag for mobile responsiveness -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- favicon references -->
<link rel="icon" type="image/png" href="/src/favicon-48x48.png" sizes="48x48" />
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
<link rel="shortcut icon" href="/src/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/src/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="PassGen" />
<link rel="manifest" href="/src/site.webmanifest" />
</head>
<body>
<h1>drand Password Generator</h1>
<!-- password options form -->
<div class="options">
<label for="length">Password Length:</label>
<input type="number" id="length" min="4" max="128" value="24">
<label><input type="checkbox" id="lowercase" checked> Include Lowercase Letters</label>
<label><input type="checkbox" id="uppercase" checked> Include Uppercase Letters</label>
<label><input type="checkbox" id="numbers" checked> Include Numbers</label>
<label><input type="checkbox" id="symbols"> Include Symbols</label>
<!-- password generation button -->
<button id="generate">Generate Password</button>
</div>
<!-- generated password display -->
<div class="result">
<h2>Your Password:</h2>
<div class="password-container">
<p id="password" class="hint">Your password will appear here</p>
<button id="copyButton" title="Copy Password">Copy</button>
</div>
</div>
<!-- Footer with placeholder links -->
<footer>
<p>Made by Amber Caravalho with 💖 | <a href="https://ambercaravalho.com">My Website</a> | <a href="https://github.com/ambercaravalho/drand-passgen">About This Project ↗️</a></p>
</footer>
<!-- javascript -->
<script src="script.js"></script>
</body>
</html>