Submitted over 1 year agoA solution to the Product preview card component challenge
Responsive Product Preview Card
bem
@danielzeljko

Solution retrospective
What are you most proud of, and what would you do differently next time?
There's nothing I'm particularly proud of as it's such a simple component.
What challenges did you encounter, and how did you overcome them?I ran into issues where setting a fixed height on project-card would cause the checkout button to overlap with the bottom margin. So, instead of having 32px (desktop padding) all around the project-card__body the actual bottom padding would be something like 15pxs.
How do we get the project card to have a fixed height without breaking the padding around the project card?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Daniel Zeljko's solution.
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