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 card

@jamesbrown173

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 specific areas of your project would you like help with?

Setting a fixed width for the card container, knowing which unit to use. In this case I used REM measurements.

Community feedback

P
Vanessa 150

@petrihcour

Posted

Awesome job with the responsiveness. Tailwind CSS does provide the Max Width Property where you could use max-w-xl or max-w-2xl for the width of the card container, ensuring it gets no larger than that specified width.

I'd keep an eye out for detail regarding the design. Using the style guide as a tool will help out. Keeping in mind Tailwind CSS provides letter spacing for the "PERFUME" part.

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