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 solution

Godwin 30

@godiemtm

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?

Using flexbox to center the items is my favourite item on this challenge.

Next time though, I would try to make the content fit within the view area

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

I have challenges centering the content. But I did some research from sites like w3schools and youtube and that helped me alot.

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

The responsive design aspect.

Community feedback

@weldu0

Posted

👋 Hey, @godiemtm! Your soliuion looks perfect! try use the following CSS:

body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}

this will allow you to center the entire page (body) in the middle of the screen, just like the design.

I hope this helps you! 😊

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