Design comparison
Solution retrospective
well would love to know in what way you think i can improve my code, this challenge helped my to go through a coding block even thou is really close to the intended design i'm sure there's room for improvement, happy coding!
Community feedback
- @ApplePieGiraffePosted over 3 years ago
Hey there, Luis Colina! 👋
Nice effort on this challenge! 👏
I suggest,
- Adding a fixed width and height to the card component in the desktop layout and simply changing those properties with a media query when the screen size decreases in order to make sure the width and height of the card don't become too large or too small when the size of the screen changes.
- Adding
object-fit: cover
to the image of the card component to make sure that it is clipped (rather than stretched or squeezed) when the size of the card changes. - Turning the social media icons in the social media popup into links using the anchor tag.
Keep coding (and happy coding, too)! 😁
1@Comet466Posted over 3 years ago@ApplePieGiraffe thank you applePie, i already added the anchor tags to the code, about the fixed width i agree that it looks ugly when every component start to shrink due the use of relatives units, i will keep it in mind for my next challenge, also didn't know about the property "object-fit" this will help me for now on, thank you for taking the time of reading my code it means a lot
1 - @robot200Posted over 3 years ago
This looks great
1
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