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 using the Flex Box Layout

JAV 40

@andcare

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


Hi everyone,

This is my Interactive Rating Component using the Flex Box Layout to center the component.

I am unsure about the approach in the rating button, I used the "::active" pseudo-element to decrease the code in JavaScript. Is this a good approach in the long run or in the big website's perspective?

If you think there are some incorrect approach to the challenge, feel free to comment it out.

Thank you very much! 😁

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