-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
87 lines (87 loc) · 2.95 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en-gb">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Password Generator</title>
<link rel="preconnect" href="https://fonts.bunny.net" />
<link
href="https://fonts.bunny.net/css?family=bodoni-moda:400"
rel="stylesheet" />
<link rel="stylesheet" href="./assets/fonts/stylesheet.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main class="container">
<div class="wrapper">
<header>
<h1>Password Generator</h1>
</header>
<div class="card">
<div class="card-body">
<form>
<div class="range-container">
<label for="lengthOption"
>Length: <span id="rangeValue"></span> characters</label
>
<input
type="range"
min="10"
max="64"
value="12"
class="range-slider"
id="lengthOption" />
</div>
<div class="inline-form">
<div class="form-group">
<input type="checkbox" id="lowercaseOption" checked />
<label for="lowercaseOption" title="(a,b,c...)"
>Lowercase</label
>
</div>
<div class="form-group">
<input type="checkbox" id="uppercaseOption" checked />
<label for="uppercaseOption" title="(A,B,C...)"
>Uppercase</label
>
</div>
<div class="form-group">
<input type="checkbox" id="numericOption" checked />
<label for="numericOption" title="(1,2,3...)">Numeric</label>
</div>
<div class="form-group">
<input type="checkbox" id="specialOption" />
<label for="specialOption" title="(%,?,!...)">Special</label>
</div>
</div>
</form>
<button id="generate" class="btn">Generate</button>
<div class="password-textarea">
<i
class="gg-copy"
id="copyButton"
tabindex="0"
role="button"
title="Copy"></i>
<textarea
readonly
id="password"
placeholder="Your Secure Password"
aria-label="Generated Password">
</textarea>
</div>
</div>
<div class="card-footer"></div>
</div>
</div>
<div class="bg-wrapper">
<div class="bg-image"></div>
</div>
</main>
<footer>
<p>Built with 🤍 & 😱. Alexandra Batrak © 2023</p>
</footer>
<script src="script.js"></script>
</body>
</html>