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 Challenge - Solution by M.E.

@hejira42

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


Completed blog preview card challenge.

I feel like there's funny business going on with:

  1. the author's avatar - is it distorted?
  2. the left & right space around the top image - is it even?

Thanks in advance if you take the time to review. <3

Community feedback

@mikestopcontinues

Posted

Nice work! Here's some suggestions:

  1. Use fewer width and min-width rules and more max-width rules. They resize better, making your component "naturally" responsive.

  2. Pay closer attention to the design spec. Designers are very picky. font-weight, font-size, line-height, border-radius, and padding can all be tweaked.

  3. Lastly, take a closer look at the active state spec. What else changes when a user clicks the link? (Hint: It's really big, but it's not on the link itself.)

You're destine for great things. Keep going!

Marked as helpful

0

@hejira42

Posted

@mikestopcontinues

Thanks for your feedback, much appreciated:)

1
0300hrs 340

@0300hrs

Posted

For the spacing, I suggest you put the contents of the card in a container and give that container a width. i.e card-content{width: 95%;} that way all the content within the card-content do not overflow and change the padding you originally set. For the author's Avatar, use the aspect-ratio: 1/1 on it so that it stays a perfect circle Nice work

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