interactive-rating-component - Sass/SCSS and vanilla JS

Solution retrospective
Hi,
- When we choose a rating and submit it, the" thank you card" will be display with our rating number. When we select a rating button, it turns gray. If we choose another button, the gray will be removed on the other button.
- When we click on the thank you card again, we return to the rating card. Interesting challenge for practice javascript.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @codexshell
Hey there, great design. Almost perfect. I have a few suggestions I think would be helpful. For starters you could find a way to persist the background color when one selects on a rating. You could also proceed to allowing the user of the component to deselect a rating altogether, in the case they do not want to participate in the survey. Cheers!
Marked as helpful
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