Certainly. Here's a clean, emoji-free version of your GitHub README:
A responsive user registration form built with HTML, CSS, and JavaScript. This project demonstrates client-side validation, real-time error handling, and redirection using query parameters.
- Responsive layout with modern styling
- Required field validation for First Name and Phone
- Optional validation for Email format
- Real-time error feedback on blur and input
- Redirects to
home.html
with query parameters on successful submission - Modular JavaScript for maintainability
├── index.html # Main registration form
├── form.js # Validation and submission logic
├── home.html # Redirect target (optional)
└── README.md # Project documentation
- First Name: Required, non-empty
- Phone: Required, must match regex for digits, spaces, hyphens, parentheses, and optional plus sign
- Email: Optional, but must match standard email format if provided
-
Clone the repository:
git clone https://github.com/your-username/user-registration-form.git cd user-registration-form
-
Open
index.html
in your browser. -
Fill out the form and click Submit to test validation and redirection.
- The form redirects to
home.html
with query parameters. You can customizehome.html
to display submitted data or handle it server-side. - This is a front-end-only demo with no backend integration.