Design comparison
Solution retrospective
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
- @ubcyukinyPosted 2 months ago
Hello!
Great work on finishing the challenge!
There are some minor differences from the design:
-
Category background color is off, you could refer back to the Figma design system to get the RGB value
-
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.
Marked as helpful1 -
- @Adabe4Posted 2 months ago
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 helpful1
Please log in to post a comment
Log in with GitHubJoin 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