Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 28 days ago

HTML5 for semantic structure , CSS3 for layout and styling, Flexbox

Kama•110
@Kama-ds10
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'm most proud of how clean and organized the HTML structure turned out, and how I was able to recreate the card layout to closely match the design using only HTML and CSS.

Next time, I’d focus more on refining hover effects and accessibility features like better alt text and keyboard navigation. I’d also like to explore using CSS Grid or a utility framework like Tailwind to speed up the styling process.

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

One challenge I faced was getting the spacing and alignment to look exactly like the design,It took some tweaking with margins, padding, and Flexbox to get things looking right.

I also had to experiment a bit with font sizing and line height to make the typography feel balanced. I overcame these challenges by checking the design preview often, using developer tools to inspect spacing, and making use of max-width, rem, and em units to keep things good.

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

I'd appreciate feedback on the overall layout and responsiveness of the card — does it look good on all screen sizes? Also, I'd like to know if there are any improvements I could make in terms of semantic HTML structure or better use of Flexbox.

Additionally, if there are cleaner or more efficient ways to write my CSS, I’d love suggestions on that too.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • P
    lucigarpe•100
    @lucigarpe
    Posted 28 days ago

    El resultado final está muy pero mejoraría los siguientes aspectos:

    Centrar el contenido verticalmente como en el diseño utilizando por ejemplo la propiedad display: flex.

    También hay algunos detalles como el border-radius del label "Learning".

    De resto has hecho un buen trabajo.

    Marked as helpful

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
Frontend Mentor logo

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub