-
Notifications
You must be signed in to change notification settings - Fork 0
/
pass.html
42 lines (36 loc) · 1.17 KB
/
pass.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
<!DOCTYPE html>
<html lang=en-us>
<head>
<meta charset=utf-8>
<style>
#demo {
/* These fonts prioritize a slashed zero */
font-family: Consolas,Roboto Mono,Monaco,monospace;
background-color: #bff;
border-style: solid;
border-width: 0px 0px 0px 3px;
border-color: blue;
border-radius: 6px;
padding-left: 5px;
}
</style>
<script type="text/javascript" src="pass.js"></script>
</head>
<body>
<!-- options for generation -->
<form>
<label for="quantity">Words (between 4 and 20):</label>
<input type="number" id="quantity" name="quantity" min="4" max="20" value="4"><br>
<label for="Word Length">Word Length (between 1 and 20):</label>
<input type="number" id="wlength" name="wlength" min="1" max="20" value="4"><br>
<input type="radio" id="readFalse" name="readability" value="false" checked>
<label for="false">Default</label>
<input type="radio" id="readTrue" name="readability" value="true">
<label for="true">More Readable</label><br>
<br>
<button type="button" onClick="genPassword()">Generate</button>
</form>
<!-- output goes here -->
<p id="demo">----</p>
</body>
</html>