@Ibtehaj-Ali-1
Posted
Everything is looking great. Just increase the spacing between the Original and Discount prices and increase the margin-top
and margin-bottom
to the price-product
.
Marked as helpful
Submitted
@Lescano713
What are you most proud of, and what would you do differently next time?
I'm proud of how I implemented CSS Grid properties to achieve the solution.
What challenges did you encounter, and how did you overcome them?
I tried to avoid using media queries, so I used CSS Grid, but I encountered problems when the screen size was reduced. The content transformed into columns, which was fine, but there was no space between the content and the body.
What specific areas of your project would you like help with?
I would like to get feedback on how I can create a responsive page using only CSS Grid without media queries
@Ibtehaj-Ali-1
Posted
Everything is looking great. Just increase the spacing between the Original and Discount prices and increase the margin-top
and margin-bottom
to the price-product
.
Marked as helpful
@35degrees
Posted
hi, I love grid too! You have the grid properties down and I love that you used 'minmax' to adjust the widths. I'm not sure there's a way to change the number of columns from two to one without a media query or at least a container query. Media queries are pretty easy to implement and I think they are valuable to use, and they work well with grid. Love your work!
Marked as helpful
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