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

Mobile first approach / Order summary card

@dsaglam94

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Travolgi 🍕 31,400

@denielden

Posted

Hi Dogan, great job!

Try to remove all margin from img and class and use flexbox to the body for center the card. Read here -> flex guide Add this to body:

display: flex;
align-items: center;
justify-content: center;
flex-direction: column;

Don't forget: IDs must be unique.

Hope this help and happy coding :)

Marked as helpful

1

@dsaglam94

Posted

@denielden hi there Deniel, thank you very much for your reply! You're right I still struggle when it comes to implementing flex box into my design. But I'll check and fix the parts you mentioned.

Wish you the best!

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