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

First JS challenge

@AnthonyLeDu

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

Petabyte 190

@peta-8-bit

Posted

@AnthonyLeDu Congratulations on completing the challenge 🎉

I was also doing the same challenge today and I have only one suggestion. We can use width and max-width on the same element style them for different viewports without using media queries. For example in this challenge I used width:80% and max-width:450px so that on wider screens, the card looks just a little bit bigger since users are sitting further away from the screen, than on a mobile device.

Happy coding╰(°▽°)╯

Marked as helpful

1

@AnthonyLeDu

Posted

@peta-8-bit Thanks for the tip !

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