/form-validation

Simple form-validation implementation

Primary LanguageJavaScriptMIT LicenseMIT

Signup Form Validation

This project is a web-based student signup form with real-time input validation. Users can enter their email, country code, zip code, and set a password, and the system provides instant feedback on the validity of the inputs.

Try it here!

How It Works

  • The webpage is designed to be responsive and visually appealing, using HTML and CSS.
  • Real-time validation is achieved through JavaScript:
    • Email validation ensures a valid email format.
    • Country code validation checks if it follows the expected format (e.g., "US").
    • Zip code validation verifies the input is in the correct format (e.g., "12345").
    • Password and password confirmation are compared to ensure they match.
  • Error messages are displayed below the input fields to guide the user.

Contributing

We welcome contributions to improve and extend this project. Feel free to open issues and pull requests.

License

This project is licensed under the MIT License. You are free to use, modify, and distribute the code as per the terms of the MIT License. See the LICENSE file for details.