Design comparison
SolutionDesign
Solution retrospective
How do I make sure that I can only click on one of the rating at a time
Community feedback
- @Mofe620Posted over 2 years ago
Hey Stephen. Great job there. I would do that using JavaScript. Get all 5 areas in an array and allow the selected iteration to be active while set the others to inactive using the
array.filter()
method.Your work looks good. Just remember to include
lang="en"
within your<html>
tag for accessibility purposes. Cheers 🥂2
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