Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive product preview card with HTML and CSS

@auri222

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

  • Using basic grid CSS and flexbox
  • Responsive with media queries in CSS

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

I have some problems with image width and height which can't fit in the div if I set the width a little bit wider. For example, if I set the width to 350px the image will flow out of the div. So my solution here is to stick with 300px width.

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

I need to learn more about grid CSS and how to control the image better.

Community feedback

@olivervillalobos

Posted

As what I can see, everything looks perfect, the only thing I would change is the font size units, change it to rem or em units, better if you use calc.

0

Please log in to post a comment

Log in with GitHub
Discord logo

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