Submitted over 1 year ago
Interactive-rating-component with EASY JAVAscript, HTML and CSS
@Netero03
Design comparison
SolutionDesign
Solution retrospective
- How is my solution?
- Which areas of your code are you unsure of?
- What are extra stuff did?
- In which areas I need improvement?
Community feedback
- @Namonaki0Posted over 1 year ago
Hi Jatin, nicely done.
Just a couple of things:
- The
.container
div could be turned into a <main> tag instead for semantic reasons, since it's the main section of the component. - You could add a default value of 0 to the
storedValue
variable in case the user doesn't select any rating, or perhaps add error handling in case this happens. You could also add acursor: pointer
to each rating button for when they're being hovered or focused, it just adds to the UX overall.
Hope this helps.
Marked as helpful1@Netero03Posted over 1 year ago@Namonaki0 Thanks man.
- I'll apply this into my challenges and projects. <3
- Once again thankyou so much for suggestion and for the comment .
1 - The
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