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 using CSS Flexbox

Kelly CHI 210

@KellyCHI22

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


Hey there, thanks for reviewing my code! This is my #5 challenge. Feel free to give me any suggestions :)

Community feedback

Lucas 👾 104,420

@correlucas

Posted

👾Hello @Hsin-tingCHI, Congratulations on completing this challenge!

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

Your background is applied but it's not too similar to the design yet. Add background-size: contain instead of background-size: cover to make it display the size full width and center with the card vertically. Note that now is slightly different from the challenge design.Here’s the code with the modification and the image applied as background:

@media (min-width: 600px)
body {
    background-image: url(images/pattern-background-desktop.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

✌️ I hope this helps you and happy coding!

Marked as helpful

0

Kelly CHI 210

@KellyCHI22

Posted

Hello @correlucas ! Thank you so much for your suggestion, I didn't pay enough attention to the background 😦 Now everything is fixed, thanks again 👍

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