Design comparison
Solution retrospective
Completed blog preview card challenge.
I feel like there's funny business going on with:
- the author's avatar - is it distorted?
- the left & right space around the top image - is it even?
Thanks in advance if you take the time to review. <3
Community feedback
- @mikestopcontinuesPosted 11 months ago
Nice work! Here's some suggestions:
-
Use fewer
width
andmin-width
rules and moremax-width
rules. They resize better, making your component "naturally" responsive. -
Pay closer attention to the design spec. Designers are very picky.
font-weight
,font-size
,line-height
,border-radius
, andpadding
can all be tweaked. -
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 helpful0@hejira42Posted 11 months ago@mikestopcontinues
Thanks for your feedback, much appreciated:)
1 -
- @0300hrsPosted 11 months ago
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 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