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 using css grid, flex-box, media query

Eslam 60

@Eslam-EO

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Leonard 1,025

@leoikeh99

Posted

Good solution, but i have a few corrections:

  1. I think is just better to set the buttons width to 100%, since you have already set the width and padding for the container.

  2. I think will also be better to set the width of the container to something like 90% when the screen reduces to a certain width, this will enable better responsiveness.

  3. For the button, i don't think you should set the border-radius to 5%, rather is should be something like 8px.

  4. Lastly you should reduce the line height of you <h2> a bit.

Marked as helpful

0

Eslam 60

@Eslam-EO

Posted

@leoikeh99 Thank you so much for your feedback, I made the changes and it really helped me a lot.

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