Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
- I tried to make this app with accessibility in mind.
- I learned about the importance of alt attribute, figcaption element, legend element etc. and how it makes the web app accessible to all users who uses different technology to access the web.
- I used web components to build both the form and thank you card. I find it easy to separate the required HTML, CSS and JS for each component.
- And I used history API to share the state between two cards. Also used history API to show form card on back button press.
Whenever there is custom style for input elements like radio , checkboxes etc. I always choose the way of creating extra div and styling that with the CSS. And then hiding the actual radio buttons. It works but comes with downside as I have to make that div behave like radio button. In this solution I found out that using appearance: none CSS property I can add custom CSS to radio button itself. It was so helpful and straightforward
What specific areas of your project would you like help with?Any feedback is welcome.
Join 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