Responsive product card component

Solution retrospective
I'm starting to learn CSS and sometimes I'm not sure if it's ok to use absolute units or if I should try to avoid them and always use relative units. In this solution, I tried using relative units for width and height but it was breaking on tablet screens so I ended up using pixels.
Other than that, I would really appreciate any feedback you can give me. I used flexbox and media query to make the page responsive
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Laryssa Carvalho'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