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

3-column product card solution using HTML and CSS Flexbox

Pauli 80

@PauliMaenpaa

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

Community feedback

Hassia Issah 50,670

@Hassiai

Posted

Wrap the content of the html in the main tag to make the content/page accessible. click here for more on web-accessibility and semantic html

Give the body a background-color of hsl(0, 0, 95%);

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

There is no need to give the article a min-height rather give it a padding value for all the sides, this will prevent the content from overflowing.

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

0

Pauli 80

@PauliMaenpaa

Posted

@Hassiai Hey! Thanks for the feedback. I fixed it and uploaded the fixed version.

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