-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
127 lines (119 loc) · 4.33 KB
/
index.html
File metadata and controls
127 lines (119 loc) · 4.33 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Random Password Generator</title>
<link rel="stylesheet" href="styles.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=League+Spartan:wght@100..900&display=swap"
rel="stylesheet"
/>
</head>
<body>
<main class="app-container">
<!-- * APP HEADER CONTAINER -->
<section class="app-header">
<h1 class="header-title">
RANDOM<span id="title-highlight">PASSWORD</span>GENERATOR
</h1>
<section class="header-icons">
<div class="passcode-container">
<section class="icons">
<img class="pincode-size" src="img/pin-code.png" />
<img class="pincode-size" src="img/pin-code.png" alt="" />
<img class="security-icon" src="img/security-agent.png" alt="" />
</section>
<p class="tagline">The Smart Way to Stay Protected.</p>
</div>
</section>
</section>
<!-- * GENERATOR OPTIONS CONTAINER -->
<section class="option-container">
<!-- & PASSWORD SET -->
<fieldset class="password-sets">
<legend class="option-header">SET OF PASSWORD</legend>
<input
class="input-details"
id="set-of-passwords"
type="number"
min="1"
max="6"
value="1"
/>
</fieldset>
<!-- & PASSWORD LENGTH -->
<fieldset class="password-sets">
<legend class="option-header">PASSWORD LENGTH</legend>
<input
class="input-details"
id="password-length"
type="number"
min="5"
max="14"
value="5"
/>
</fieldset>
<!-- & CHECKBOXES -->
<fieldset class="password-sets">
<legend class="option-header">CHARACTER SET</legend>
<div class="checkbox-container">
<input
class="checkbox-style"
type="checkbox"
id="input-numeric"
name="input-numeric"
value="input-numeric"
/>
<label class="label-gap" for="uppercase">NUMERIC</label>
<input
class="checkbox-style"
type="checkbox"
id="input-symbols"
name="input-symbols"
value="input-symbols"
/>
<label class="label-gap" for="uppercase">SYMBOLS</label>
<input
class="checkbox-style"
type="checkbox"
id="input-lowercase"
name="input-lowercase"
value="input-lowercase"
/>
<label class="label-gap" for="uppercase">LOWERCASE</label>
<input
class="checkbox-style"
type="checkbox"
id="input-uppercase"
name="input-uppercase"
value="input-uppercase"
/>
<label class="label-gap" for="uppercase">UPPERCASE</label>
</div>
</fieldset>
<button class="generate-button" onclick="generateBtn()">GENERATE PASSWORD</button>
</section>
<!-- * GENERATED PASSWORD CONTAINER -->
<section class="generated-password-container">
<p class="password-footer">GENERATED RANDOM PASSWORDS</p>
<!-- & INSERT GENERATED PASSWORDS HERE -->
<div class="password-output-container">
<button class="password-output" id="result-button1">1</button>
<button class="password-output" id="result-button2">2</button>
<button class="password-output" id="result-button3">3</button>
<button class="password-output" id="result-button4">4</button>
<button class="password-output" id="result-button5">5</button>
<button class="password-output" id="result-button6">6</button>
</div>
<div class="clear-btn-container">
<button id="clear-button" onclick="clearBtn()">CLEAR</button>
</div>
</section>
<!-- <div id="result">Result: </div> -->
</main>
<script src="script.js"></script>
</body>
</html>