This project is a password generator built using React. It's designed to help you understand and practice React Hooks, including useState
, useEffect
, and useCallback
. The application allows users to generate a random password with customizable options, including the length of the password and whether to include numbers and special characters. It also features a copy button to easily copy the generated password to the clipboard.
- Password Length Selection: Adjust the length of the password using a slider.
- Include Numbers Option: Toggle the inclusion of numbers in the generated password.
- Include Special Characters Option: Toggle the inclusion of special characters (e.g.,
!@#$%^&*
) in the generated password. - Copy to Clipboard: Copy the generated password to the clipboard with a single click.
- Understand and practice using React Hooks (
useState
,useEffect
,useCallback
,useRef
). - Learn how to manage state in a React component.
- Explore how to create reusable functions and handlers.
- Implement basic UI interactions and handle user input.
- Practice working with refs using
useRef
to interact with DOM elements.