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

Patryk Szβ€’ 210

@dedku

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


Hi there!

Here's my solution for this challenge. It is my pleasure to hear your feedback. Questions appreciated!

Cheers!

Community feedback

@catherineisonline

Posted

It shows me that I chose options 1 for every other option, might want to fix that 😊

Marked as helpful

0

@VCarames

Posted

Hey there! πŸ‘‹ Here are some suggestions to help improve your code:

  • β€œicons/illustrations” in this component serve no other purpose than to be decorative; They add no value. There alt tag should be left blank and have an aria-hidden=β€œtrue” to hide them from assistive technology.

More Info:πŸ“š

https://www.w3.org/WAI/tutorials/images/

  • The proper way to build the "rating buttons" in this challenge is to create a form and inside of it, there should be fiveinput radios and each input should have a label attached to it to make the buttons accessible. Finally wrap all the inputs and labels inside a fieldset to prevent users from making more than one selection.

More Info:πŸ“š

MDN <input type="radio">

MDN <fieldset>: The Field Set element

  • The attribution should be wrapped in a footer element.

If you have any questions or need further clarification, feel free to reach out to me.

Happy Coding!πŸŽ„πŸŽ

Marked as helpful

0
Wagner Kroissβ€’ 190

@wagnerk78

Posted

  1. I found a little mistake. When I am selectioning a number different, the page of confirmation doesn't change. For example, if I selection number 3, the text is: You selected 1 out of 5. I think that it should change for: You selected 3 out of 5.
  2. You built the site correctly and I didn't find any other errors that I could observe.
  3. Keep going!

Marked as helpful

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