Skip to content

Commit f8dbae1

Browse files
Update index.html
Added some comments for better redability
1 parent 37a8192 commit f8dbae1

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html lang="en">
33

44
<head>
5+
<!-- Meta tags for character set and viewport settings -->
56
<meta charset="UTF-8">
67
<meta http-equiv="X-UA-Compatible" content="IE=edge">
78
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -11,10 +12,16 @@
1112

1213
<body>
1314
<div class="container">
15+
16+
<!-- Heading for the password generator -->
1417
<h2>Password Generator</h2>
18+
19+
<!-- Result container for displaying the generated password -->
1520
<div class="result-container">
1621
<textarea id="PasswordResult"></textarea>
1722
</div>
23+
24+
<!-- Settings section with options for password length and character types -->
1825
<div class="settings">
1926
<div class="setting">
2027
<label>Password length</label>
@@ -37,6 +44,8 @@ <h2>Password Generator</h2>
3744
<input type="checkbox" id="symbols" checked />
3845
</div>
3946
</div>
47+
48+
<!-- Buttons for generating and copying passwords -->
4049
<div class="buttons">
4150
<button class="btn btn-large" id="generateBtn">
4251
<i class="fas fa-key"></i> Genrate
@@ -46,9 +55,12 @@ <h2>Password Generator</h2>
4655
</button>
4756
</div>
4857
</div>
58+
59+
<!-- Link to the JavaScript file for functionality -->
4960
<script src="script.js"></script>
61+
<!-- External library scripts for FontAwesome and GitHub buttons -->
5062
<script async defer src="https://buttons.github.io/buttons.js"></script>
5163
<script src="https://kit.fontawesome.com/dd8c49730d.js" crossorigin="anonymous"></script>
5264
</body>
5365

54-
</html>
66+
</html>

0 commit comments

Comments
 (0)