-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (36 loc) · 1.82 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
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Karla:wght@800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css">
<title>🔐 Password Generator by Chris Lam</title>
</head>
<body>
<main>
<div id="hero-text">
<h1><em class="highlight">🔐 Password Generator</em></h1>
<p>by <a href="https://builtbychrislam.com/" target="_blank"> Chris Lam</a></p>
</div>
<div id="password-section">
<div id="generateInput">
<label for="passwordLength">How many characters for your password?</label>
<input type="number" id="passwordLength" placeholder="15" min="8" step="1" value="8">
<div id="symbolsNumbersForm">
<input type="checkbox" id="toggleSymbolsNumbers" checked>
<label for="toggleSymbolsNumbers">Include symbols and numbers</label>
</div>
<button id="generatePassword">Generate password</button>
</div>
<div id="separator"></div>
<div id="passwords">
<p>Your randomly generated password<span id="numPasswordChars"></span></p>
<div id="password" class="password highlight"></div>
</div>
</div>
<script src="index.js"></script>
</main>
</body>
</html>