This challenge is to build a responsive and accessible contact form based on the provided design. This form should validate inputs, handle submission, and provide clear feedback to users.
- Build a contact form that closely matches the provided design.
- Ensure the form is fully accessible, allowing users to navigate and interact using keyboard only.
- Implement form validation for required fields and email format using JavaScript.
- Show success message (toast) upon successful form submission.
- Provide hover and focus states for interactive elements.
- Optimize layout for different screen sizes (responsive design).
- HTML5
- CSS3 (Flexbox for layout, media queries for responsiveness)
- JavaScript (Vanilla JS for form validation and submission)
Desktop Preview:-
Mobile Preview
- Accessible form with ARIA attributes for screen readers.
- Error messages for missed required fields and incorrect email format.
- Tooltips for interactive elements.
- Responsive design for desktop and mobile screens.
- Submission success message displayed in a toast.
- Clone the repository:
git clone https://github.com/Yashi-Singh-1/Contact-Form.git
- Open
index.html
in your web browser.
Contributions are welcome! Follow these steps:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Create a new Pull Request.
Yashi Singh
Visit my LinkedIn profile: https://www.linkedin.com/in/yashi-singh-b4143a246