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

https://github.com/amirandersonjones/interactive-rating-component

@amirandersonjones

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


It was challenging to figure out how to take the user star rating input and display it on the page for the thank you.would appreciate if someone could help me figure out how to thank the user by saying you chose (amount of stars) on the thank you card.

Community feedback

@J-HernandezM

Posted

try using a radio input for the buttons of the scores, then read all the HTML elements in the JS using document.querySelector, create a function that evaluate each radio input element and see witha condition if they have the propertie .checket = true, if so then thats the option the user selected and you can assign that to a variable

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