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 using HTML and Vanilla CSS

P

@hamzafrontend

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 am able to complete the design that is almost close to the reference design, I would improve it with time.

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

I was not able to center the card along the y-axis, I was already using display flex, align-items, and justify-content center, but still, it was not centering the card along the y-axis. I fixed it by giving 100% height to the body and HTML.

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

I want to improve the way I write the code and improve responsiveness, any kind of feedback is welcome, thanks.

Community feedback

@verostrizinec

Posted

Con respecto al centrado, me pasó lo mismo y utilicé la misma solución. Creo que te quedó muy bienn!! El código se ve bien también.

Marked as helpful

1

P

@hamzafrontend

Posted

@verostrizinec Yes, 100% height is needed to center the card along the y-axis. thank 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