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-comp

@dustinsoos

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 found changing the innerHTML was a bit difficult to figure out, ended up having to google and figure out how I can do it. Let me know what you think!

Community feedback

@acedilloluis

Posted

You've written a great solution. However, when viewing your solution on an iPad the rating buttons don't extend all the way to the right side of the container. One solution to this is to use flexbox. For example,

.ratings {
width: 100%;
display: flex;
align-items: center;
justify-content: space-evenly;
}
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