Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

CSS Grid and Flex Layouts. Responsive. Img traits.

@IvanFdez01

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Using flex and grid layouts. Knowing all their varieties.

What specific areas of your project would you like help with?

I don't know how to remove all the white space on the mobile version (for me when screen.width < 900px). Maybe a body or .card classes problem.

Community feedback

@faraz-ch1

Posted

It is because in @media query you are giving body white background color. Removing it will solve the problem.

0

@IvanFdez01

Posted

@faraz-ch1 nop, that only affects the color, not the structure. I put that to get rid of the "card" and make the whole page one, as common.

0

Please log in to post a comment

Log in with GitHub
Discord logo

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