Design comparison
Solution retrospective
found difficulty in making it responsive for mobile
Community feedback
- @mikestopcontinuesPosted 11 months ago
Hey, nice work! Here's a few tips for next time:
-
Designers and Product Managers are very picky about their designs. Before you present your work for feedback, you should aim for pixel-perfect design. They would want to see you fix the padding around the edge, the "Learning" pill's shape, and the "active" state when you hover over the article title. See the design images for details.
-
The mobile design shows the card retaining all of it's padding and text size, but it doesn't show what happens when the device is smaller than the image. Given what you see in the design spec, it seems like the intention is that the card should shrink to fit the device width, meaning that the image should get smaller and the text should wrap. Your problem comes from using too many
width
andmin-width
properties with pixel values. Solve this by relying onmax-width: *px
andwidth: *%
. -
Next time around, clean up your CSS before submission. Many of your rules are
@media
duplicates or are unnecessary. In a toy project, this doesn't matter so much, but in real work, these extra rules make it really hard to maintain code.
You've come a long way already. Keep going!
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