This project demonstrates client-side form validation using JavaScript. The form validates user input in real time and prevents submission if the entered data does not meet the required format.
The validation is implemented using JavaScript, ensuring that users provide correct and properly formatted information before submitting the form.
- Runtime form validation
- Prevents form submission when input is invalid
- Phone number validation
- Password validation
- Error messages displayed for incorrect input
- Simple and clean user interface
- HTML
- CSS
- JavaScript
form-validation
β
βββ index.html
βββ css
β βββ style.css
βββ js
β βββ script.js
βββ README.md
- User enters data into the form fields.
- JavaScript checks the input values.
- If the input does not match the required format, an error message is displayed.
- The form will not submit until all fields are valid.
This project was created to practice:
- JavaScript form validation
- DOM manipulation
- User input handling
Muhammad Software Engineering Student & Web Developer