/Form_Validation

In this project I have created a simple Form validation using HTML, CSS and Javascript.

Primary LanguageJavaScript

Form Validation Project

Welcome to the Form Validation project! This web application, developed using HTML, CSS, and JavaScript, focuses on client-side form validation to ensure accurate and secure user input.

Features:

  • Input Validation: Validates various form fields, including name, email, and password, ensuring data accuracy and integrity.

  • Real-time Feedback: Provides instant feedback to users, indicating whether their input meets the specified criteria.

  • Custom Error Messages: Displays meaningful error messages to guide users in correcting their input.

Technologies Used:

  • HTML: Structures the form and content of the project.

  • CSS: Styles the project for an intuitive and visually appealing design.

  • JavaScript: Implements client-side validation logic for a seamless user experience.

How to Use:

Option 1: Local Development with index.html

  1. Clone the repository to your local machine.

    git clone https://github.com/your-username/your-repository.git

Option 2: Using Docker

If you prefer using Docker for development, follow these steps:

Step 1: Build the Docker Image

Open a terminal and run the following command to build the Docker image:

docker build -t your-image-name .

Step 2: Run a Docker Container

docker run -p 80:80 your-image-name

Step 3: View the Application

Open your web browser and visit http://localhost:80 to view the application.

Form Validation Rules:

  • Username: Should not be empty.

  • Email: Should be a valid email address format.

  • Password: Should be at least 8 characters long.

  • Confirm Password: Should match the entered password.