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

I used css flexbox

Leroy-sama 280

@Leroy-sama

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

hitmorecode 6,230

@hitmorecode

Posted

Congratulations well done. Just a few things you can do to fix some issues.

  • The star is not in the middle of the circle, you can fix this by adding flexbox in the .image-1
  • When clicking on the rating buttons, they don't stay active. After clicking the button should stay orange until the submit button is clicked.
.image-1 {
width: 40px;
height: 40px;
/* padding: 5px; */ /* remove this line */
background: hsl(213, 19%, 28%);
border-radius: 100%;
margin-bottom: 20px;
display: flex;
justify-content: center;
align-items: center;
}

Marked as helpful

0
Leroy-sama 280

@Leroy-sama

Posted

Thanks a lot man. I'll fix it right away

0

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