-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRandom Password Generator.html
More file actions
32 lines (29 loc) · 1.03 KB
/
Random Password Generator.html
File metadata and controls
32 lines (29 loc) · 1.03 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random Password Generator</title>
<!--FontAwesome Icons-->
<script src="https://kit.fontawesome.com/70c7c22c90.js" crossorigin="anonymous"></script>
<!--Google Font-->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap" rel="stylesheet">
<!--stylesheet-->
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Generate a Password</h1>
<div class="container">
<input type="text" id="output">
<button>
<i class="fa-solid fa-shuffle" onclick="genPassword()"></i>
</button>
<button>
<i class="fa-solid fa-copy" onclick="copyClipboard()"></i>
</button>
<input type="range" id="length" min="8" max="20" value="8" oninput="genPassword()">
<h3 id="length-val">8</h3>
</div>
<script src="script.js"></script>
</body>
</html>