Single Price Grid Component, HTML and CSS, Flex-box for layout
Design comparison
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
- @ApplePieGiraffePosted almost 4 years ago
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@monicamclaughlanPosted almost 4 years agoThank 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@ApplePieGiraffePosted almost 4 years ago@monicamclaughlan
Here's a rather in-depth guide to media queries by CSS Tricks. And here's a similar guide from Polypane's blog. 😀
0 - @MasterDev333Posted almost 4 years ago
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@monicamclaughlanPosted almost 4 years agoThank 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 GitHubJoin 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