Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

Responsive product preview card component

Fatima S•180
@Zarah679
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 am proud that i successfully applied media queries to my mobile first design in order to create a responsive design that adapted to different screen sizes(mobile, tablet and desktop). It was seamless and cohesive.

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

I struggled with applying styles to my image using the <source> element. I fixed that by googling how to style different images for different screen sizes on the same design and that worked.

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

I would like to know how to apply border radius on my container. i tried doing that but its not showing on my design. I dont know why that is happening.

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 Fatima S'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
  • Use cases

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