Design comparison
SolutionDesign
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?
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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