Design comparison
SolutionDesign
Solution retrospective
How can I make sure only one rating number can be clicked, rather than all of them at once?
Community feedback
- @SemandrPosted over 2 years ago
Hello! To avoid this problem, you need to use "input" tag, like this: <input type="radio"> <input> elements of type radio are generally used in radio groups—collections of radio buttons describing a set of related options.
Only one radio button in a given group can be selected at the same time. Radio buttons are typically rendered as small circles, which are filled or highlighted when selected.
Marked as helpful1@LekanjoyPosted over 2 years ago@Semandr Thank you, I didn't think of that
0
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