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

Blog Preview Card

Q-bert•260
@QBERT18
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 understand that I could have given the card a fixed width, but I prefer to let elements retain their natural size and allow the content inside these sections to define the overall dimensions. Typically, these types of sections are not used in isolation, as shown in this example. Instead, they are often part of a larger layout, such as a grid with other sections or cards. For this reason, I chose to keep the card’s width dynamic.

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

I am always open to suggestions for improving my code, especially when it comes to my CSS and BEM 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 Q-bert'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