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

Only Web Verson

@class-pedro

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I'm still learning how to configure the mobile version.

Community feedback

Hassia Issah 50,650

@Hassiai

Posted

The body has a wrong background color.

To center the main on the page using flexbox, replace the height in the body with min-height: 100vh.

For a responsive content give the main a fixed max-width value that is total width of all the sections max-width:600px

There is no need to give the section a width. Replace the height in .card with a padding value for all the sides, this will prevent the content from overflowing on smaller screen.

There is no need to give the body a width.

Use relative units like rem or em as unit for the padding, margin, width values and preferably rem for the font-size values, instead of using px which is an absolute unit. For more on CSS units Click here

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

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