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

Blog Preview Card

@General4904

Desktop design screenshot for the Blog preview card 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?

I was able to find solutions to a bug in the code

What challenges did you encounter, and how did you overcome them?

Had problems with a section of the CSS styling. I looked the prblem up in a Jennifer Nierdest Robinson book I used to learn

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

Mobile responsiveness

Community feedback

@AkoToSiJeromeEh

Posted

Hey ! Great work out there i just notice that the blog preview card is not vertically position in center , you are correct on using display : flex and its related properties but there are crucial and important css property when you want to position or in your case center a element that is height by adding height in body the card component will vertically align on center. that's all happy coding !!

you can see the difference when you inspect the webpage

body {
  background-color: hsl(47, 88%, 63%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh; // add this
}
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