Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Blog preview card

P
Asv000 190

@Asv000

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

Like before I feel like I'm breaking from tutorial hell. With this project I'm heading into right direction. I don't really know what I'd do differently next time. Maybe I'll try SCSS.

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

My biggest challenge with this one was to position author pic and author name, so they'd be in a center. To achieve that I used container and added line-height. Not sure if that was the best idea for that and I'm looking forward for some hints :)

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

I'm looking for review in terms of: BEM metodology, CSS structure and HTML semanthic. I was wondering if I should use another container for heading and text below.

Community feedback

P
Samuel Adu 1,010

@samuel-adu

Posted

This is an excellent solution.

To align the author name and avatar, wrapping them in a flex container and aligning them to the center is a good solution.

.author {
    display: flex;
    align-items: center;
    gap: 8px;
}

0

Please log in to post a comment

Log in with GitHub
Discord logo

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