Responsive interactive rating component

Solution retrospective
Would it make more sense to extract each component (pre and post submission states) to their own component, or is having both in the same file ok?
Any and all feedback is welcome. Thank you!
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@kaamiik
Hi, congratulations on completing this challenge! The HTML structure in this challenge is really important. The entire card is a
form
element with a submit button inside it. Additionally, you have a question and a group of radio buttons. The best element to use for the group of radio buttons is afieldset
with alegend
inside it. I recommend reading more about these two elements and redoing the HTML of this challenge. This will make your code cleaner with semantic tags that will also improve your accessibility.Marked as helpful
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