-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (44 loc) · 1.53 KB
/
index.html
File metadata and controls
44 lines (44 loc) · 1.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RanPass</title>
<link rel="stylesheet" href="styles.css" />
<script src="script.js" defer></script>
<!-- defer makes the script to load after the html body loads -->
</head>
<body>
<div class="container">
<h1 class="title">Password Generator</h1>
<h3
class="password-display"
id="passwordDisplay"
style="user-select: all"
>
Password
</h3>
<span>Click on the password to copy to clipboard</span>
<form id="passwordGeneratorForm" class="form">
<label for="charactersAmountRange">Number of Characters</label>
<div class="character-amount">
<input type="range" min="1" max="50" id="charactersAmountRange" />
<input
class="number-input"
type="number"
id="charactersAmountNumber"
value="10"
/>
</div>
<label for="includeUppercase"> Include Uppercase </label>
<input type="checkbox" id="includeUppercase" />
<label for="includeNumbers">IncludeNumbers</label>
<input type="checkbox" id="includeNumbers" />
<label for="includeSymbols">Include symbols</label>
<input type="checkbox" id="includeSymbols" />
<button class="btn" type="submit">Generate Password</button>
</form>
</div>
</body>
</html>