Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 4 months ago

Mobile first Blog preview card solution using CSS grid and flexbox

P
Turi53•20
@Turi53
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 most proud of the accuracy of my website compared to the design. I got stuck into the project straight away without much planning, so often I would go back to my HTML code to change the structure which wasn't a big deal for a project of this size, however I can see how that would cause issues in a bigger project so, next time, I would spend more time planning my approach and getting the HTML structure to be as accurate as possible.

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

I struggled to center the blog preview card on the screen. To overcome this challenge, I referred to some informative videos on centering div elements in CSS using flexbox and grid. Ultimately, I came up with a solution. However, I'm not fully convinced that my solution is the most optimal.

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

I would like some advice on centering the blog preview card on the screen. Did I do it perfectly, or is there a better way to center it?

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 Turi53'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