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

product overview

@EliasDerbew

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@KapteynUniverse

Posted

Hey, you can delete

margin: 10px auto;
max-width: 1440px;   
gap: 1rem; */     

from body and change height to min-height: 100vh;. It will do the same as what you did.

Using max and min for height and widths would be better for responsiveness. Also rem and em units instead of pixels. These videos explain them great video1 video2

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