product-preview-card-component using media queries

Solution retrospective
I'm proud I have gotten to use media queries to create the two layouts.
What challenges did you encounter, and how did you overcome them?It's complicate define the different images for mobile and desktop. I managed to solve this problem using tag .
What specific areas of your project would you like help with?I would like to help with the use tag
Please log in to post a comment
Log in with GitHubCommunity feedback
- @chrisjay358
Hi Rafael, I think you did an amazing job! I like it and if you would like to improve it, here are a few tips I think you should include.
- Give more room for visual hierarchy (space between blocks)
main { min-height: calc(100vh - 30px); margin-bottom: 3rem; }
. That way on a mobile view the footer doesn't rub into the card itself. You could also have a margin-bottom for hierarchy also between the <main> and the <footer>.- This is all for now. Hope this meets you well.
Marked as helpful
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