Skip to content

RamRaj1440/form-validation-html-css-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

form-validation-html-css-js

Form Validation using HTML, CSS, and JavaScript

A simple yet effective form validation project built using HTML, CSS, and Vanilla JavaScript. This project demonstrates how to validate user inputs on the client-side before submitting the form.

Features

  • Real-time input validation
  • Error messages for invalid fields
  • Basic styling with CSS
  • Prevents form submission until all fields are valid

Project Structure

form-validation-html-css-js/ │── index.html │── style.css │── script.js └── README.md

Technologies Used

  • HTML5 – Structure of the form
  • CSS3 – Styling & error messages
  • JavaScript (ES6) – Form validation logic

How to Run the Project

  1. Clone the repository:

  2. Open index.html in your browser.


Demo Screenshots

Demo Screenshot


Future Improvements

  • Add regex-based email validation
  • Improve UI with animations
  • Extend to handle password strength check

Contributing

Contributions are welcome! Fork the repo and create a pull request.

License

This project is licensed under the MIT License.

About

"A simple project demonstrating client-side form validation using HTML, CSS, and JavaScript."

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published