-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (44 loc) · 1.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/style.css">
<link rel="shortcut icon" href="/public/key.svg" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Generate Password</title>
</head>
<body class="theme-light">
<!-- Header Page -->
<header class="header-page">
<h1>Generate Password</h1>
<p>Generate a random password by clicking the button below.</p>
<div class="inputs">
<input type="text" id="lengthInput" minlength="1" maxlength="2" placeholder="Password length">
<input type="text" id="specialCharsInput" placeholder="Special Chars" maxlength="10">
</div>
<div class="btn">
<button id="generate" class="button">Gen Password</button>
<button id="copyPasswordBtn" class="button" style="display: none;">Copy Password</button>
</div>
<div id="password"></div>
<div id="error"></div>
<div class="alert-cont">
<div class="alert">
<p>These passwords are not saved in any database or
anywhere.<br> They are characters automatically generated at the moment.<br> No one but you can save these
automatically
generated characters.</p>
</div>
</div>
</header>
<!-- Down Page -->
<section class="down">
<!-- SVG GitHub extraido de Bootstrap icons -->
<a href="https://github.com/Klaandee/generate-password">
<img src="./public/github.svg" alt="GitHub - Git">
</a>
<button id="toggle-theme">Toggle Theme</button>
</section>
<script src="./main.js"></script>
</body>
</html>