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 React and Styled-Components

Mahmoud 150

@Mamouty

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


I have noticed that despite using the centering techniques for elements, I still didn't get the numbers inside list components exactly centered.

I used the flexbox for centering:

    display: flex;
    justify-content: center;
    align-items: center;

The same problem for the message that should tell the users what number they selected. They are a bit above the ideally centered line. Can someone explain to me what I did wrong?

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