Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 6 days ago

blog-preview-card-main

pure-css
Emel•70
@Emelinur
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?

Q1: What are you most proud of, and what would you do differently next time?

I’m proud that I built both the desktop (384px) and mobile (327px) layouts exactly as in the design. I used :root variables for all spacing, colors, and typography, which made my CSS cleaner.

Q2: What did you learn during this project?

I learned how to use @media queries for responsive design, how to apply gap in Flexbox instead of using margins, and I reinforced my understanding of flex: 1. I also finally understood the importance of a design system and using variables from :root.

Q3: Where do you need help?

I’d like feedback on how I structured my CSS and if there are better practices for handling spacing and responsive layouts. Also, I want to improve my commit messages and README structure.

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 Emel'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
  • Use cases

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