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

@Omarhdez-218

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 challenges did you encounter, and how did you overcome them?

I had a difficult time getting the name "Greg Hopper" & the avatar picture side by side. I overcame that problem by adding a display of inline-block & vertical aligining it to the middle on "Greg Hopper".

Community feedback

P
Ken 160

@ubcyukiny

Posted

Hello!

Great work on finishing the challenge!

There are some minor differences from the design:

  1. Category background color is off, you could refer back to the Figma design system to get the RGB value

  2. The author section is not aligned with the content, I see you have some paddings in the author section, maybe that could affect the alignment. I suggest using chrome dev tools by clicking on inspect, click on the div you want to inspect, and computed, you will see the margins, padding, and div size highlighted, makes it easier to figure out what is off.

Also look into responsive web design, the dimensions of the blog preview card should change as the screen max width gets smaller, to give a better experience viewing using a phone. In the Figma design, you could inspect the width, height, font size changes.

Here is a short video about it

Marked as helpful

1
Adabe4 40

@Adabe4

Posted

Try to be more careful with the font-size and the colors. The "published" text looks way more bold in your solution than in the design and the learning-box should have the same color as the background. Otherwise your solution is close to the design.

Marked as helpful

1

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