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

BlogPreviewCard

@InaolajiRidwan

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


Dully built using Html, Css and Tailwind which makes the project to be more responsive. i find this very easy for a newbies.

Community feedback

Daniel 🛸 44,230

@danielmrz-dev

Posted

Hello @Engrflame!

Your project looks great!

I noticed that your card is not in the middle of the page. Here's a very efficient way to center the card:

  • Apply this to the body (in order to work properly, don't use position or margins):
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

I hope it helps!

Other than that, great job!

0

@InaolajiRidwan

Posted

@danielmrz-dev all code has been dully corrected. thanks for the info.

0

@Mohamedkazafy

Posted

Hi,bro i wish you doing well, your design needs some fix to be like the image , display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 100vh; add these to the body to center the div in the center of the page and you can add flex wrap to the text to fit in the div . i wish you fix this

0

@InaolajiRidwan

Posted

@Mohamedkazafy all code has been dully corrected. thanks for the info.

0

@Mohamedkazafy

Posted

@Engrflame you are welcome

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