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

column preview card

@julliafren

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

Lucas 👾 104,420

@correlucas

Posted

👾 Bonjour Jullian, congratulations for your solution!

I've some tips for you:

The container isn't responsive due the fixed value you've set for the class called .box to fix that you should replace width with max-width in order to allow the card contract and also the elements inside like the text. After you fix this property you'll see how the component will behave in another way. See the code below:

.container .box {
    max-width: 280px;
    height: 400px;
}

Hope it helps, and happy coding!

Marked as helpful

2

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