This project is a simple registration form built with React.
The form collects user details including username, email, password, and password confirmation.
It features real-time validation and error handling to ensure that users provide valid information, without using external package or library.
Fields are validated using React Hooks.
Validation Rules
- Username: Required.
- Email: Required, must be in a valid email format.
- Password: Required, must contain at least 8 characters, including one letter, one number, and one special character.
- Confirm Password: Required, must match the password.
- Clone the Repository:
git clone project-url
- Install Dependencies:
cd FORM-VALIDATION
npm install
- Run the Application:
npm start
- Open your browser and navigate to
http://localhost:3000
to see the registration form in action.