Design comparison
SolutionDesign
Solution retrospective
For my JavaScript, is there a way to minimize the JavaScript by combining the numberContainer section with the numberBtns.forEach section? I made the numberContainer event listener with the purpose of getting the number for the number used in the text of the Thank You section, and the numberBtns section for making the active button have the active color state.
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