Design comparison
Solution retrospective
First time to use JavaScript DOM
What challenges did you encounter, and how did you overcome them?trying to analyze each section parts for writing Javascript
What specific areas of your project would you like help with?I would greatly appreciate any feedback or suggestions you might have.
Community feedback
- @AnaCarol2001Posted 3 months ago
Hey, great job with your solution!
My only suggestion is regarding accessibility. Since you used span elements as the rating options, it's impossible to navigate between them using the keyboard (Tab to focus, arrow keys to choose an option, and Enter key to select/submit). So, instead, you could use radio buttons, which have these functionalities native implemented, and get the selected value from the submitted form. You can check this Star Rating example from the Web Accessibility Initiative to get an idea.
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