Interactive Rating Component with React, TypeScript, Vite and SCSS

Solution retrospective
This was a really simple one where my goal was to be as exact to the Figma design as possible. Let me know if you see any imperfections!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @hassaneljebyly
Congrats on finishing this, looks neat and solid, just one suggestion put
display: grid; place-items: center;
on the<button>
tag with the star icon (why not a div tho ? a button tag that's not used as a button will just confuse screen readers), plus you may want to addcursor: pointer
on rating buttons, other than that it all looks great.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