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

flex

Lukasβ€’ 50

@Lolex3366

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


My first Challange !

Community feedback

Lucas πŸ‘Ύβ€’ 104,420

@correlucas

Posted

πŸ‘ΎHello Lukas, congratulations for your first solution and 😎 welcome to the Frontend Mentor Coding Community!

Your first solution is amazing, I've some tips for you:

You need to add to the body min-height: 100vh to make the child element align to the body (parent). See the fixes below:

body {
 display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;
    background-color: antiquewhite;
   }

You can use this value for the component box-shadow box-shadow: 5px 5px 15px 5px rgb(0 0 0 / 5%);

πŸ‘‹ I hope this helps you and happy coding!

Marked as helpful

1
Lukasβ€’ 50

@Lolex3366

Posted

Thanks for great feed back Lucas ! Yes ill have fix it and it looks nice. It is nice that the Community help each other and give a newbiee so much feedback , ill enjoy it "!

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