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

Finally cut down code

Mapopo 30

@mapopo2

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


Finally cut down code using css focus styling to change colours of rating buttons when clicked, turning selected elements into an array in javascript, getting the innerHTML(number) and using forEach() to show the clicked number on the thank you message

Community feedback

RedMwp 790

@RedMwp

Posted

The rating state is broken , opened it in chrome. Try giving it a width

Marked as helpful

0

Mapopo 30

@mapopo2

Posted

@RedMwp thank you!

1

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