Design comparison
Solution retrospective
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
- @codercreativePosted 4 months ago
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
, addflex-direction: column
and then play around with themax-width
(e.g. 20rem) in bothmain
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, Christina0
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