|
| 1 | +# Random Password Generator |
| 2 | + |
| 3 | +**A simple and fun project that generates secure random passwords using HTML, CSS, and JavaScript.** |
| 4 | +This project allows users to create customized passwords based on selected criteria. |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | +## Features |
| 9 | +- **Customizable Password Generation**: Specify the length and character types (uppercase, lowercase, numbers, and symbols) for the password. |
| 10 | +- **Dynamic Content**: The generated password is displayed instantly upon creation. |
| 11 | +- **Clipboard Functionality**: Easily copy the generated password to your clipboard with a button click. |
| 12 | +- **Error Handling**: Alerts the user if there is an attempt to copy an empty password. |
| 13 | + |
| 14 | +## Description |
| 15 | +This project provides a user-friendly interface for generating secure passwords. Users can select options for password length and desired character types, including: |
| 16 | +- Lowercase letters |
| 17 | +- Uppercase letters |
| 18 | +- Numbers |
| 19 | +- Symbols |
| 20 | +- Text |
| 21 | + |
| 22 | +Upon clicking the "Generate Password" button, a new password is created based on the selected options and displayed on the screen. Users can also copy the generated password to their clipboard with a dedicated button, receiving confirmation via an alert. |
| 23 | + |
| 24 | +The project uses: |
| 25 | +- **HTML** for structure |
| 26 | +- **CSS** for styling and layout |
| 27 | +- **JavaScript** for password generation logic and user interaction management |
| 28 | + |
| 29 | +## Prerequisites |
| 30 | +Before running this project, ensure you have a basic understanding of the following technologies: |
| 31 | +- **HTML**: For structuring the user interface of the password generator. |
| 32 | +- **CSS**: For styling the interface and providing an appealing layout. |
| 33 | +- **JavaScript**: For handling password generation and user interactions. |
| 34 | + |
| 35 | +## How to Use |
| 36 | +1. Open the `index.html` file in your web browser. |
| 37 | +2. Select the desired password length and the types of characters to include. |
| 38 | +3. Click the "Generate Password" button to create a new password. |
| 39 | +4. The generated password will be displayed on the screen. |
| 40 | +5. Click the "Copy to Clipboard" button to copy the password. An alert will confirm the action. |
| 41 | +6. If no character types are selected, a default password will be generated based on the specified length. |
| 42 | + |
| 43 | +## Installation |
| 44 | +To run this project locally: |
| 45 | +1. Clone the repository or download the files. |
| 46 | +2. Open `index.html` in any web browser. |
| 47 | + |
| 48 | +### Installation Instructions |
| 49 | +1. Clone the repository: |
| 50 | + ```bash |
| 51 | + git clone https://github.com/yourusername/password-generator.git |
| 52 | + ``` |
| 53 | +2. Navigate to the project directory: |
| 54 | + ```bash |
| 55 | + cd password-generator |
| 56 | + ``` |
| 57 | +3. Open `index.html` in a web browser. |
| 58 | + |
| 59 | +## Author |
| 60 | +- Basset Gaëtan (@[gbasset](https://github.com/gbasset)) |
0 commit comments