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

order-summary

P
Arcloan 280

@Arcloan

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Nothing in particular.

What challenges did you encounter, and how did you overcome them?

Nothing

What specific areas of your project would you like help with?

I tried many approach to get the image right. I first applied a padding to the card container but the padding influenced the space occupied by the div containing the image. This was predictably. So I added a margin to all child except the first to get the spacing right. I don't know if there are other better ways to do this. Another thing is I didn't understand why if removing the flex container from body and giving margin-block of auto to the card it didn't center itself vertically nevertheless I set body min-height to 100vh. The margin-inline of auto worked but block no.

Community feedback

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