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

Single Price Grid Component Using HTML, CSS and Flex.

@orion-esu

Desktop design screenshot for the Single price grid component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P
Matt Studdert 13,611

@mattstuddert

Posted

Awesome work on this challenge Esu and congrats on submitting your first solution! 🥳

Here are a couple of tips after taking a look at your code:

  • On mobile, the content looks very squashed. This is because of the max-width: 50%; declaration on the .container class. You could change this for mobile to something like max-width: 95%; to give more space to the content.
  • Have you ever tried using min-width media queries instead of max-width? I'd recommend giving it a go on a future project if you haven't. You typically write less code this way and also it has the benefit of loading in fewer styles for mobile users.

You've done a really good job with this. Keep up the great work! 👍

0

@orion-esu

Posted

I really appreciate Matt, i think i have worked on the observations you made. Take a look at it and see if i did the right thing.

0
P
Matt Studdert 13,611

@mattstuddert

Posted

@EsuGabriel no problem! Nice work making the adjustments. I'd recommend increasing the breakpoint from max-width: 300px though. You can use the device emulator in Chrome Dev Tools to check out how it would look on mobile phones as a reference.

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