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

@Emmex19

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


Had some difficulties in writing the code to update the rating selected if the user decides to change his initial rating, but later worked my way around it. Also, I had to write a separate function to reset the background colors if the user picks a rating and then changes his mind. All feedbacks will be appreciated.

Community feedback

Hyron 5,870

@hyrongennike

Posted

Hi @Emmex19,

Congrats on completing the challenge

Just one suggestion maybe disable the submit button until a rating is selected currently I can click the button without selecting a rating and get taken to the thank you page.

Marked as helpful

0

@Emmex19

Posted

@hyrongennike oh, I really didn't think about that. Thank you

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