-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (44 loc) · 2.5 KB
/
Copy pathindex.html
File metadata and controls
46 lines (44 loc) · 2.5 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
<html>
<head>
<link rel="stylesheet" href="index.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=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<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=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap" rel="stylesheet">
</head>
<body>
<h1>Generate a <br><span>Radom Password</span></h1>
<p>Never use an insecure password again</p>
<form>
<div class="length-container">
<label> Password Length:</label>
<div class="input-wrapper">
<input type="number" placeholder="15" id="length-in"><br>
<small id="length-err"></small>
</div>
</div>
<!-- <div class="checkbox-container">
<label>Characters</label>
<div class="checkbox-wrapper"><span class="checkbox-tittle">Letters</span><input class="checkboxes" type="checkbox" checked class="checkbox-el"></div>
<div class="checkbox-wrapper"><span class="checkbox-tittle">Numbers</span><input class="checkboxes" type="checkbox" checked class="checkbox-el"></div>
<div class="checkbox-wrapper"><span class="checkbox-tittle">Symbols</span><input class="checkboxes" type="checkbox" checked class="checkbox-el"></div>
</div> -->
</form>
<button id="btn-el">Generate password</button>
<hr>
<div class="password-container">
<div class="password-wrapper">
<p class="password" id="first-pass"></p>
<button onclick="copyFirst()" class="copy-el" id="copy-first-el"><i class="fa-solid fa-copy"></i></button>
</div>
<div class="password-wrapper">
<p class="password" id="second-pass"></p>
<button onclick="copySecond()" class="copy-el" id="copy-second-el"><i class="fa-solid fa-copy"></i></button>
</div>
</div>
<script src="index.js"></script>
<script src="https://kit.fontawesome.com/4f7b8c1103.js" crossorigin="anonymous"></script>
</body>
</html>