Skip to content

muhammadali-dev01/form-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

JavaScript Form Validation Project

πŸ“Œ Project Description

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.


πŸš€ Features

  • 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

πŸ›  Technologies Used

  • HTML
  • CSS
  • JavaScript

πŸ“‚ Project Structure

form-validation
β”‚
β”œβ”€β”€ index.html
│── css
β”‚   └── style.css
β”œβ”€β”€ js
β”‚   └── script.js
└── README.md

πŸ“– How It Works

  1. User enters data into the form fields.
  2. JavaScript checks the input values.
  3. If the input does not match the required format, an error message is displayed.
  4. The form will not submit until all fields are valid.

πŸ’‘ Learning Purpose

This project was created to practice:

  • JavaScript form validation
  • DOM manipulation
  • User input handling

πŸ‘¨β€πŸ’» Author

Muhammad Software Engineering Student & Web Developer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors