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, HTML and CSS, Flex-box for layout

Monica 100

@monicamclaughlan

Desktop design screenshot for the Single price grid component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


First time implementing flex-box in layout and also first time hopefully successfully using a media query? Still learning and all feedback is welcome! Thanks!

Community feedback

P
ApplePieGiraffe 30,565

@ApplePieGiraffe

Posted

Hey, Monica! 👋

Nice to see you complete another challenge! Good job on this one! 👍

I suggest,

  • Adding a hover state to the button of the card component.
  • Giving the card component a fixed width in both the desktop and mobile layouts and switching between them using a media query when there is no more room for the desktop layout on the screen. Giving the card a width based on the width of the viewport isn't necessary for this challenge and might prove a little more troublesome to work with! 😉

Keep learning and coding (and happy coding, too)! 😁

0

Monica 100

@monicamclaughlan

Posted

Thank you again for your feedback. It is much appreciated! Do you know of any specific resources to learn more about media queries? Thanks again!

0
Monica 100

@monicamclaughlan

Posted

@ApplePieGiraffe Thank you!

0
Web Frog 1,840

@MasterDev333

Posted

Hi, Monica. Your solution is great. It's very important to make everything responsive. However, your solution is not good in mobile and tablet view due to fixed margin on body element. And please set overflow hidden on wrapper element to show border radius on bottom left corner. Hope this helps. Happy coding~ :)

0

Monica 100

@monicamclaughlan

Posted

Thank you for the feedback! Continuing to work on changing layout from desktop to mobile etc.

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