/
index.html
63 lines (62 loc) · 2.39 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
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="author" content="Muthukrishnan">
<meta name="keywords" content="Random, password, generator, password generator, strong password generator">
<meta name="description" content="Random Password Generator">
<meta name=”robots” content="index, follow">
<title>Strong Password Generator by Muthukrishnan</title>
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@1.*/css/pico.min.css">
<link rel="stylesheet" href="./main.css">
</head>
<body>
<main class="container">
<div class="grid">
<article>
<h2>Password Generator</h2>
<div class="result-container">
<span id="result"></span>
<button class="btn" id="clipboard">
Copy
</button>
</div>
<div class="settings">
<div class="setting">
<label>Password length</label>
<input type="number" id="length" min="4" max="20" value="20" />
</div>
<div class="setting">
<label>Include uppercase letters</label>
<input type="checkbox" id="uppercase" checked />
</div>
<div class="setting">
<label>Include lowercase letters</label>
<input type="checkbox" id="lowercase" checked />
</div>
<div class="setting">
<label>Include numbers</label>
<input type="checkbox" id="numbers" checked />
</div>
<div class="setting">
<label>Include symbols</label>
<input type="checkbox" id="symbols" checked />
</div>
</div>
<button id="generate">Generate password</button>
</article>
<article>
<h1>How to choose a good password</h1>
<p>Using at least one uppercase letter and one number in an eight-character password would take a computer one hour to crack. </p>
<p>Add in another symbol and now it'll take a computer eight hours to crack.</p>
<p>A 12-character password that has one uppercase letter, one number and one symbol is considered unbreakable, and it would take a computer 34,000 years to crack it.</p>
</article>
</div>
<footer>
Made with ♥ by <a target="_blank" href="https://muthu.co">Muthukrishnan</a>
</footer>
</main>
<script type="text/javascript" src="./main.js"></script>
</body>
</html>