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

rating

@LukichLabadze

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

P

@Antonvasilache

Posted

Hi,

Good effort on building the component. Consider a few adjustments for making your content fit into the container at different screen sizes:

#container{
width: 100%;
max-width: 24rem;

Lower the margin-bottom from 3 to 2rem on the individual elements.

For semantic HTML purposes, you can also turn the <div id='container'> into a <main> element, and replace the h2 with an h1.

Hope this helps.

Good luck!

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