-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (61 loc) · 2.33 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="output.css" rel="stylesheet">
<title>My Password Generator</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Playwrite+NZ:[email protected]&display=swap');
body {
font-family: 'Lato', sans-serif;
color: beige;
}
</style>
</head>
<body>
<div class="flex items-center justify-center w-screen h-screen bg-back bg-cover">
<div class="flex items-center justify-center flex-col backdrop-blur-md bg-transparent border p-3 rounded-md" >
<p class="text-white underline font-bold text-xl mb-1">Password Generator</p>
<div class="flex items-center w-full justify-around bg-slate-800 rounded px-3">
<span class="px-2 text-green-500" id="generated_password">Temp_Password</span>
<button class="fa-regular fa-copy " id="clipboard_button" class="hover:scale-105"></button>
</div>
<div class="flex flex-col items-center justify-center ">
<div class="flex items-center justify-around w-full">
<p>Password Length</p>
<output id="range_value">11</output>
</div>
<div class="slidecontainer">
<input type="range" min="1" max="20" checked="1" class="slider" id="myRange">
</div>
<!-- <div> -->
<!-- <div class="flex items-center justify-center"> -->
<ul>
<li>
<input id="upperalpha" type="checkbox" >
<label for="upperalpha">Includes Uppercase Letters</label>
</li>
<li>
<input id="loweralpha" type="checkbox" >
<label for="loweralpha">Includes Lowercase Letters</label>
</li>
<li>
<input id="numbers" type="checkbox" >
<label for="numbers">Includes Numbers</label>
</li>
<li>
<input id="symbols" type="checkbox" >
<label for="symbols">Includes Symbols</label>
</li>
</ul>
<div class="mt-2">
<button class="border py-1 px-2 rounded hover:scale-105"id="generate_password">Generate Password</button>
</div>
</div>
</div>
</div>
<script src="https://kit.fontawesome.com/862971273a.js" crossorigin="anonymous"></script>
<script src="script.js"></script>
</body>
</html>