
Responsive Contact Form using SCSS and Vanilla JavaScript
Design comparison
Solution retrospective
I am most proud of implementing a responsive and visually appealing contact form using SCSS and improving my JavaScript validation logic.
Next time, I would focus on:
- Setting up automated tests for form validation.
- Better organizing the folder structure for larger projects.
One of the challenges was handling relative paths for assets when deploying to GitHub Pages. I resolved it by adjusting the base tag in the HTML and carefully updating all relative URLs.
Additionally, I struggled with SCSS imports but overcame it by restructuring the file paths and using Sass commands correctly.
What specific areas of your project would you like help with?I would like feedback on:
- Improving accessibility for the form (e.g., proper use of ARIA attributes).
- Optimizing the SCSS structure for better scalability and maintainability.
- Following best practices for JavaScript validation and event handling.
Community feedback
- @YacoubDweikPosted 2 months ago
Hey!
Good job I really like it! One note is to remove the background-size: cover and give it a position of 0% 0% as when errors appear the bg keeps moving which is not cool.
Also u have kinda overflow on mobiles bcuz of width: 80% that u gave to the main element.
keep it up!
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord