Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactive rating component with vanilla JS

mihai2537 190

@mihai3636

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello!

  • Struggled to center those digits inside the circles, and still they look to me like they are not perfectly centered. I understand that is because there is some invisible space underneath each number which is reserved for letter like "g" or something like that. Could someone please tell me if I understood right and if there is any other way beside using flexbox to center a digit inside a circle? I centered the icon without flexbox but I believe that is just luck because the icon was roughly a square.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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