# Frontend Mentor - Product preview card component solution

Solution retrospective
I am new to building responsive design. Have been doing backend for a decade. This was a major change in terms of thinking. I am pretty newbie. I am unsure what are the best practices regarding naming, media queries. The most difficult path was to put the image in center in the div without any margins. I am unsure what the above problem gets fixed if I assign display:block to image. The issue Im facing is that resizing image on a mobile form factor
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Rishx'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