Submitted over 3 years agoA solution to the Interactive rating component challenge
Mobile-first using Flexbox
@tbrownlee

Solution retrospective
JavaScript: I accessed the number the user selected by getting the class name and then getting its inner HTML (numbers 1 through 5).
Should I have accessed a value or data instead?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on tbrownlee's solution.
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