Good job! 🎉
With the following small fixes you can convert your project to mobile first and make it responsive: So for example in the class .main-content
, add flex-direction: column
and then play around with the max-width
(e.g. 20rem) in both main
and .product-image
. Then, add a media query for desktop: @media (min-width: 1024px) { .main-content { flex-direction: row; } main { max-width: 57rem; } .product-image { max-width: 57rem; } }
Of course you may need/want to fine-tune further, but hopefully, the small adjustments above will be helpful to you.
All the best,
Christina
Design comparison
Solution retrospective
What are you most proud of, and what would you do differently next time?
got a little hang of JS
What challenges did you encounter, and how did you overcome them?
JS part, got help by alex the moderator
What specific areas of your project would you like help with?
JS and media query
Community feedback
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