-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (84 loc) · 2.53 KB
/
index.html
File metadata and controls
89 lines (84 loc) · 2.53 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!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>
<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=Karla:ital,wght@0,200..800;1,200..800&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="source/css/index.css" />
</head>
<body>
<div class="wrapper">
<div class="title">
<h1>Generate a <span class="title--block title--green">random password</span></h1>
<h2>Never use an insecure password again.</h2>
</div>
<div class="generator flex">
<div class="button" id="generatorButton">
<input class="button__text" id="generator" type="button" value="Generate Passwords" />
</div>
<div class="length flex">
<h3 class="length__title">Length</h3>
<output class="length__output" id="lengthOutput" for="length">4</output>
<input
class="length__input"
id="length"
type="range"
min="6"
max="20"
value="4"
step="1" />
</div>
</div>
<hr />
<p class="note">Click the password to copy</p>
<div class="passwords">
<div class="passwords__output relative flex" id="outputOne" for="generator">
<output class="absolute output" id="passwordOne">
<img
class="passwords__dots"
width="20"
height="5"
src="source/img/dots.png"
alt="Password" />
</output>
</div>
<div class="passwords__output relative flex" id="outputTwo" for="generator">
<output class="absolute output" id="passwordTwo">
<img
class="passwords__dots"
width="20"
height="5"
src="source/img/dots.png"
alt="Password" />
</output>
</div>
<div class="passwords__output relative flex" id="outputThree" for="generator">
<output class="absolute output" id="passwordThree">
<img
class="passwords__dots"
width="20"
height="5"
src="source/img/dots.png"
alt="Password" />
</output>
</div>
<div class="passwords__output relative flex" id="outputFour" for="generator">
<output class="absolute output" id="passwordFour">
<img
class="passwords__dots"
width="20"
height="5"
src="source/img/dots.png"
alt="Password" />
</output>
</div>
</div>
</div>
<script defer src="source/js/index.js"></script>
</body>
</html>