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

css layout, html5, css basic

Andoβ€’ 40

@bando9

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


tell me, what is lacking and I need to improve. This will be my learning material, and I will improve it. Thank you.

Community feedback

Dev Rathoreβ€’ 2,600

@GitHub-dev12345

Posted

Congratulation πŸš€πŸ˜ complete your challenge. Used this code want your card in center position :

in body tag Used this CSS Code: body{ display : flex; justify-content: center; align-item: center; }

in Card Design CSS Code used this property: align-self: center;

And

1.In Card design CSS Code Used this:

transform : scale(0.8); this property decrease the size of card. πŸ˜‰

large size for increase the number of scale & small size for decrease the number of scale

I hope you find this helpful

Marked as helpful

1
Travolgi πŸ•β€’ 31,420

@denielden

Posted

Hi Ando, I took some time to look at your solution and you did a great job!

Also I have some tips for improving your code:

  • add main tag and wrap the card for Accessibility
  • img element must have an alt attribute, it's very important!
  • remove all margin from container class
  • try to use flexbox to the body for center the card. Read here -> best flex guide
  • after add min-heigth: 100vh to body because Flexbox aligns to the size of the parent container

Overall you did well :)

Hope this help and happy coding!

Marked as helpful

1
Naveen Gumasteβ€’ 10,460

@NaveenGumaste

Posted

Hello Ando ! Congo πŸ‘ on completing this challenge

Let's look at some of your issues, shall we:

  • Use the "alt attribute" and write what img is , and if the img is for decorative then leave it empty but always add it with img tag.

  • For the change button color is dark-blue and it is given in style-guide and add all the font-weight to the text respectively

  • For Proceed to Payment add the shadow of its own color

  • Warp your card content around the main tag Ex: πŸ‘‡

<body>
<main class="container">
*all you content here*
</main>
</body>

happy CodingπŸ˜€

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