-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (49 loc) · 1.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8" />
<title>RanPass</title>
<meta http-equiv="Content-Security-Policy"
content="style-src 'self' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com;">
<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=Fira+Code&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css" />
<script src="./script.js" defer></script>
<link rel="shortcut icon" href="./images/lock.svg" type="image/x-icon" />
</head>
<body>
<header>
<h1>Random Password <br> Generator</h1>
</header>
<main>
<div class="wrapper">
<h2 id="string">Loading...</h2>
<div id="configuration">
<label for="length">Length of password (digits):</label>
<input type="number" min="8" id="length" required="true" value="8" />
<div class="includes">
<input type="checkbox" checked="true" id="small">
<label for="small">Small letters</label>
<input type="checkbox" checked="true" id="cap">
<label for="cap">Capital letters</label>
<input type="checkbox" checked="true" id="numbers">
<label for="numbers">Numbers</label>
<input type="checkbox" checked="true" id="symbols">
<label for="symbols">Symbols</label>
</div>
</div>
<div id="buttons">
<button id="copy-btn">Click here to copy</button>
<button id="new-btn">New</button>
</div>
<p>Tip: You can also use "space bar" to generate and "c" to copy.</p>
</div>
</main>
<footer>
<p>Developed By: <a href="https://github.com/aliraza5490" target="_blank" referrerpolicy="no-referrer">Ali
Raza</a></p>
</footer>
</body>
</html>