-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (37 loc) · 1.62 KB
/
Copy pathindex.html
File metadata and controls
37 lines (37 loc) · 1.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Password Generator</title>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css" defer>
</head>
<body class="px-4">
<h1>Password Generator</h1>
<div class="container mx-auto px-6">
<div class="result-container mx-auto">
<p id="passw">password</p>
</div>
<span class="text-black bg-white px-2" id="copyBtn">Copy</span>
<form class="decisions" id="form">
<label for="range">Number of characters</label>
<input type="range" min="2" max="25" name="range" id="inputRange">
<input type="number" min="2" max="25" name="number" value="5" id="inputNumber">
<br>
<input type="checkbox" name="includeUpper" id="includeUpper">
<label for="includeUpper">Include uppercase letters</label>
<br>
<input type="checkbox" name="includeSymbols" id="includeSymbols">
<label for="includeSymbols">Include symbols</label>
<br>
<input type="checkbox" name="includeNumbers" id="includeNumbers">
<label for="includeNumbers">Include numbers</label>
<br>
<button id="generatePasswordBtn" type="submit">Generate Password</button>
</form>
</div>
<script src="./script.js"></script>
</body>
</html>