Skip to content

Moha-abshir/Form-Validation-Using-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ Form Validation Using JavaScript

License: MIT
Languages: HTML, CSS, JS


Table of Contents


What Is This?

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

Features

  • ✅ 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

Technologies Used

Layer Tools / Languages
Markup HTML5
Styles CSS3
Behaviour / Logic JavaScript (ES6+)

Installation & Setup

  1. Clone the repo
    git clone https://github.com/Moha-abshir/Form-Validation-Using-JavaScript.git

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published