This is a solution to the Contact Form challenge on Frontend Mentor. The project focuses on building a responsive and accessible contact form with custom validation and user feedback.
Build an accessible and responsive contact form that provides clear validation feedback, supports keyboard navigation, and delivers a smooth user experience across different screen sizes.
- Semantic HTML5
- CSS Custom Properties
- Flexbox
- Mobile-first workflow
- Vanilla JavaScript
- ARIA attributes for accessibility
This project gave me more practice with form validation, accessibility, and DOM manipulation using JavaScript.
Some of the concepts I reinforced while building this project include:
- Creating custom form validation
- Displaying dynamic error messages
- Managing accessibility with ARIA attributes
- Improving keyboard navigation
- Handling form submission feedback
- Organizing reusable validation functions
One implementation I am particularly happy with is the reusable error handling logic, which helped reduce duplicated code and made the validation process easier to maintain.
In future projects, I would like to continue improving:
- JavaScript code organization
- Form validation patterns
- Accessibility best practices
- API integration
- State management concepts used in modern frameworks such as React

