This is a password generator webpage built using HTML, CSS, and JavaScript. It provides functionality to generate customized passwords based on user-selected criteria.
-
Password Length Control:
- Use the slider to select the length of the password (between 8 and 20 characters).
- The selected length is displayed in real-time.
-
Character Type Selection:
- Uppercase Letters (A-Z)
- Lowercase Letters (a-z)
- Numbers (0-9)
- Symbols (~!@#$%^&*)
-
Password Generation:
- Generate a password that meets the selected criteria.
- Ensure that at least one character of each selected type is included in the generated password.
-
Copy to Clipboard:
- Copy the generated password to the clipboard with a single click.
- Display an alert confirming the copied password.
-
Select Password Length:
- Adjust the slider to set the desired password length. The default length is 14 characters.
-
Choose Character Types:
- Check the boxes for the types of characters you want to include in your password (uppercase letters, lowercase letters, numbers, symbols).
-
Generate Password:
- Click the "Generate Password" button to create a password based on the selected criteria.
- The generated password will be displayed in the text input field.
-
Copy Password:
- Click the "Copy" button to copy the generated password to your clipboard.
- An alert will confirm the copied password. If no password is generated, an alert will prompt you to generate a password first.