Skip to content

Update index.html #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">

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

<body>
<div class="container">

<!-- Heading for the password generator -->
<h2>Password Generator</h2>

<!-- Result container for displaying the generated password -->
<div class="result-container">
<textarea id="PasswordResult"></textarea>
</div>

<!-- Settings section with options for password length and character types -->
<div class="settings">
<div class="setting">
<label>Password length</label>
Expand All @@ -37,6 +44,8 @@ <h2>Password Generator</h2>
<input type="checkbox" id="symbols" checked />
</div>
</div>

<!-- Buttons for generating and copying passwords -->
<div class="buttons">
<button class="btn btn-large" id="generateBtn">
<i class="fas fa-key"></i> Genrate
Expand All @@ -46,9 +55,12 @@ <h2>Password Generator</h2>
</button>
</div>
</div>

<!-- Link to the JavaScript file for functionality -->
<script src="script.js"></script>
<!-- External library scripts for FontAwesome and GitHub buttons -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="https://kit.fontawesome.com/dd8c49730d.js" crossorigin="anonymous"></script>
</body>

</html>
</html>