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

Product Preview Card using HTML/CSS

@Hunter-Lanier

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

@Genildocs

Posted

Hello, congratulations on completing the challenge!

As a tip, I advise you to use images with the width property set to 100% of its parent element, so it will adapt to different screen widths.

Also, opt for relative widths such as em, rem, percentage, instead of fixed widths like px.

You can also use flexbox for other elements, for example, you could have used it for aligning the information section and the image.

I hope these tips are helpful in some way. Again, congratulations on completing the challenge.

Marked as helpful

1

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