-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (78 loc) · 2.69 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html>
<head>
<title>Password Generator</title>
<meta name="author" content="alihasan.ml" />
<meta
name="keywords"
content="HTML, CSS, JavaScript, alihasn, dev alihasan, arnobhasan, m. ali hasan"
/>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3">
<h1 class="text-center mb-5">Password Generator</h1>
<div class="form-group">
<label for="password-length">Password Length:</label>
<input
type="number"
class="form-control"
id="password-length"
min="8"
max="64"
value="12"
style="border-radius: 10px"
/>
<small id="password-length-help" class="form-text text-muted"
>Choose a length between 8 and 64 characters.</small
>
</div>
<div class="form-group">
<label for="password-display">Password:</label>
<div class="input-group">
<input
type="text"
class="form-control"
id="password-display"
readonly
style="border-radius: 10px 0 0 10px"
/>
<div class="input-group-append">
<button
class="btn btn-primary"
id="copy-button"
type="button"
style="border-radius: 0 10px 10px 0"
>
Copy
</button>
</div>
</div>
<small id="password-display-help" class="form-text text-muted"
>Click "Generate Password" to generate a new password.</small
>
</div>
<button
href="#"
class="bton btn btn-lg btn-block mb-5"
id="generate-button"
>
Generate Password
</button>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="script.js"></script>
</body>
</html>