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 card using flexbox

Damian 150

@damiandev22

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'm open to any suggestion.

Thanks.

Community feedback

Lucas 👾 104,420

@correlucas

Posted

👾Hello @damiandev22, Congratulations on completing this challenge!

Great code and great solution! I’ve few suggestions for you that you can consider adding to your code:

Add background-repeat: no-repeat to avoid the background image repeating multiple times.

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    background-color: hsl(225, 100%, 94%);
    display: flex;
    justify-content: center;
    background-repeat: no-repeat;
    align-items: center;
    font-family: 'Red Hat Display',sans-serif;
    background-image: url(../images/pattern-background-desktop.svg);
}

✌️ I hope this helps you and happy coding!

Marked as helpful

1

Damian 150

@damiandev22

Posted

@correlucas thanks. I missed that detail.

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