A simple web application that generates random passwords for enhanced security. This app allows users to create strong, randomized passwords with a single click, ensuring their online accounts remain safe from unauthorized access.
- Random Password Generation: Creates a password using a mix of uppercase and lowercase letters, numbers, and special characters.
- User-Friendly Interface: Easy-to-use interface with a single button to generate passwords.
- Stylish Display: The generated password is displayed in a styled box for easy copying.
The basic structure of the application is defined in the index.html
file, which includes a button to generate passwords and a box to display them.
The style.css
file contains styles for the password display box and other elements, ensuring a clean and modern look.
The core functionality is implemented in the script.js
file, which includes:
- An array of characters used for password generation.
- A function to generate a random password.
- Event listeners to handle button clicks and display the generated password.