Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactive rating component with a11y

P

@srijanss

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

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.

What challenges did you encounter, and how did you overcome them?

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.

Community feedback

P
Wannika123 560

@Wannika123

Posted

Very nice!

0

Please log in to post a comment

Log in with GitHub
Discord logo

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