Skip to content

Commit 9dde166

Browse files
committed
Add containers and input and button
1 parent cbcedc2 commit 9dde166

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

Source-Code/PasswordGenerator/index.html

+37-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,43 @@
1111
<title>Password Generator</title>
1212
</head>
1313
<body>
14-
14+
<div class="card">
15+
<div class="container">
16+
<h2>Password Generator</h2>
17+
<div class="result-container">
18+
<span id="result"></span>
19+
<button class="btn" id="clipboard">
20+
<i class="far fa-clipboard"></i>
21+
</button>
22+
</div>
23+
<div class="settings">
24+
<div class="setting">
25+
<label>Password Length</label>
26+
<input type="number" id="length" min="4" max="20" value="20">
27+
</div>
28+
<div class="setting">
29+
<label>Include uppercase letters</label>
30+
<input type="checkbox" id="uppercase" checked>
31+
</div>
32+
<div class="setting">
33+
<label>Include lowercase letters</label>
34+
<input type="checkbox" id="lowercase" checked>
35+
</div>
36+
<div class="setting">
37+
<label>Include numbers</label>
38+
<input type="checkbox" id="numbers" checked>
39+
</div>
40+
<div class="setting">
41+
<label>Include symbols</label>
42+
<input type="checkbox" id="symbols" checked>
43+
</div>
44+
</div>
45+
</div>
46+
<button class="btn btn-large" id="generate">
47+
Generate Password
48+
</button>
49+
50+
</div>
1551

1652
<script src="https://cdnjs.cloudflare.com/ajax/libs/vanilla-tilt/1.7.0/vanilla-tilt.min.js"></script>
1753
<script src="script.js"></script>

0 commit comments

Comments
 (0)