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-component-challenge

@Rakesh709

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


I have some problem related to positing . How can i practice . how can i change the element structure.

Community feedback

Travolgi 🍕 31,420

@denielden

Posted

Hi Rakesh, goodjob! Congratulations on completing the challenge.

You can positing with flex box:

  • but first add main tag and wrap the card for Accessibility
  • try to remove all margin from first-img and middle-box classes
  • use flexbox to the body for center the card. Read here -> flex guide
  • also set heigth of body to 100vh because Flexbox aligns to the size of the parent container.
  • try to add a little transition on the element with hover effect

In the end for add the top image in the background just put more specific background properties to the body:

background: url("../img/pattern-background-desktop.svg") no-repeat top center;
background-size: contain;
background-color: #e0e8ff;

Hope this help ;) and happy coding!

Marked as helpful

1

@Rakesh709

Posted

@denielden Thank you for the wonderful explanation.

1
Naveen Gumaste 10,460

@NaveenGumaste

Posted

Hay ! Rakesh Good Job on challenge

These below mentioned tricks will help you remove any Accessibility Issues

-> Add Main tag after body <main class="container"></main>

-> Learn more on accessibility issues

If this comment helps you then pls mark it as helpful!

Have a good day and keep coding 👍!

Marked as helpful

0

@Klrfl

Posted

What problem do you have? Can you specify?

0

@Rakesh709

Posted

@Klrfl How to set background color as mention.

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