Mobile First | Vanilla JS | Interactive Rating Component

Solution retrospective
How can I get my function onclick to check if a radio button has been selected? I added an else statement to alert the user, but it added that alert no matter the condition and it still removed the hidden class displaying the thank you page.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kyle'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