Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Blog Preview Card using HTML and Vanilla CSS

Hamza Naeem•260
@hamzafrontend
A solution to the Blog preview card challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Hamza Naeem's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License