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

K.Damsith 330

@Damsithcoder

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

@0xabdulkhaliq

Posted

Hello there 👋. Congratulations on successfully completing the challenge! 🎉

  • I have other recommendations regarding your code that I believe will be of great interest to you.

CSS 🎨:

  • height: 800px for body is considered as a static value which will eventually prone to errors on bigger screens more than height of 800px
  • So, we want to use min-height: 100vh instead of height. Setting the height to 800px may result in the component being cut off on smaller screens, such as a mobile phone in landscape orientation.
  • So change,
body {
    height: 800px;
}
  • Instead try this
body {
    min-height: 100vh;
}

I hope you find it helpful ! 😄 Above all, the solution you submitted is great

Happy coding!

Marked as helpful

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