-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (51 loc) · 2.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Password Generator</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="index.css">
</head>
<body>
<div class="container">
<h1 class="title"><i class="fas fa-key"></i> Password Generator</h1>
<div class="input-section">
<label for="password-length" class="label">Password Length:</label>
<div class="input-group">
<input type="number" id="password-length" min="8" max="128" class="input">
<button id="generatePassword" class="btn-generate">
<i class="fas fa-sync-alt"></i> Generate
</button>
</div>
</div>
<div class="password-grid">
<div class="password-item" data-id="1">
<textarea readonly class="password-output"></textarea>
<button class="btn-copy"><i class="far fa-copy"></i></button>
</div>
<div class="password-item" data-id="2">
<textarea readonly class="password-output"></textarea>
<button class="btn-copy"><i class="far fa-copy"></i></button>
</div>
<div class="password-item" data-id="3">
<textarea readonly class="password-output"></textarea>
<button class="btn-copy"><i class="far fa-copy"></i></button>
</div>
<div class="password-item" data-id="4">
<textarea readonly class="password-output"></textarea>
<button class="btn-copy"><i class="far fa-copy"></i></button>
</div>
<div class="password-item" data-id="5">
<textarea readonly class="password-output"></textarea>
<button class="btn-copy"><i class="far fa-copy"></i></button>
</div>
<div class="password-item" data-id="6">
<textarea readonly class="password-output"></textarea>
<button class="btn-copy"><i class="far fa-copy"></i></button>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>