Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 month ago

Responsive Product Review Card Component using CSS Flexbox

Raizo-03•50
@Raizo-03
A solution to the Product preview card component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm proud that I was able to make the layout responsive and clean, especially on mobile and desktop views. Next time, I’d plan the layout structure better to avoid small issues like spacing or height mismatches.

What challenges did you encounter, and how did you overcome them?

I had trouble with image scaling, extra spacing, and making the container match the image height. I fixed them by testing different CSS properties like object-fit, align-self, and playing with padding and margins.

What specific areas of your project would you like help with?

I’d like help making sure the container height perfectly matches the image, and also making the layout more flexible without hardcoding too much. Any tips on cleaning up the CSS would be great too.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Raizo-03'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License