-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (50 loc) · 1.71 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
<!DOCTYPE html>
<html>
<head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css">
<link rel="stylesheet" href="index.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Password Generator</title>
<script src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js" type="module"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
</head>
<body>
<div id="passwordDiv">
<h1 style="margin-bottom:0px;">
Generate a<br/>
<span id="rndm-pswd">random password</span>
</h1>
<p id="para">Never use an unconfident password again.</p>
<br/>
<div class="bAin">
<button id="genpswds" onclick="genPswd()">Generate Passwords</button>
<input type="text" placeholder="Set password length(8-15)" id="length" />
</div>
<br/><br/>
<div style="display:flex;">
<label>Include Numbers </label>
<label class="switch">
<input type="checkbox" id="incnum" >
<span class="slider round"></span>
</label>
</div>
<br/>
<div id="line"></div><br/><br/>
<div id="pswds">
<div class="form">
<input type="text" class="pswd1" readonly>
<ion-icon name="copy" class="ii1"></ion-icon>
</div>
<div class="form">
<input type="text" class="pswd2" readonly>
<ion-icon name="copy" class="ii2"></ion-icon>
</div>
</div>
<br/>
<center id="mCm">
<div id="cpyMsg"></div>
</center>
<br/>
<script src="index.js"></script>
</div>
</body>
</html>