- What Is This?
- Features
- Demo
- Technologies Used
- Installation & Setup
- Usage
- Project Structure
- Contributing
- License
A lightweight, vanilla JavaScript utility for validating user input in web forms. It ensures entries are valid before allowing submission, improves UX, and helps prevent bad data from reaching backend systems.
Use-cases include:
- Contact forms
- Registration / Sign-up forms
- Any client-side form where you want instant feedback on correctness
- ✅ Check for empty (required) fields
- ✅ Validate email format
- ✅ Minimum / maximum length checks
- ✅ Real-time feedback (display messages as user types)
- ✅ Clean, CSS-styled error & success notifications
- ✅ Prevents form submission until all validations pass
Layer | Tools / Languages |
---|---|
Markup | HTML5 |
Styles | CSS3 |
Behaviour / Logic | JavaScript (ES6+) |
- Clone the repo
git clone https://github.com/Moha-abshir/Form-Validation-Using-JavaScript.git