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

niewinNโ€ข 90

@niewinN

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 didn't know how to make the same background but i tried to do the rest similarly:)

Community feedback

@MelvinAguilar

Posted

Hello there ๐Ÿ‘‹. Good job on completing the challenge !

I have one more suggestion about your code that might interest you.

  • The background color you have used is the color of the text, not the background. Try using these styles instead:
.main {
    background-color: hsl(225deg, 100%, 94%);
    background-image: url(images/pattern-background-mobile.svg);
    background-repeat: no-repeat;
    /* background-position: center; */
    background-size: contain;
}

Happy coding!

Marked as helpful

2
Hassia Issahโ€ข 50,670

@Hassiai

Posted

Give .main a background-color of pale-blue and the change the value of the background-size to contain.

For a responsive content , give .card a fixed max-width value. max-width:432px which is 27rem. There is no need to give .card overflow-hidden.

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

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