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 Page using flexbox

Samuel 220

@aesthete797

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

h415232 110

@h415232

Posted

Hi, your solution is good already! I have some small comments to make your solution look better:

  • Add a Border Radius to your container and image, so that it will resemble the mock-up design better. You can add border-radius: 20px for the container and border-radius: 20px 0 0 20px for the image to achieve the same effect with the mock-up.

  • For the product description, the text is a bit squeezed vs the mock-up. I would suggest adding line-height and letter-spacing to make the text less squeezed.

  • For the product type [PERFUME], adding letter-spacing would make it less squeezed, similar to the comment above.

Happy coding! :)

Marked as helpful

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