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

Componente de resumo com HTML e CSS

@LUANABELMIRO

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


Fique a vontade para deixar seu comentário <3

Community feedback

Shalom2935 420

@Shalom2935

Posted

hello well done completing this challenge. I think those tips might help you improve your code:

  • this is the magic formula whenever you want to center a div whether it is horizontally or vertically:
body {
display: flex;
justify-content: center;
align-items: center;
}

the margin you gave will prevent the site from being responsive.

  • giving your main element a max-width is great but it is for no use if you don't add a width property.
main{
width:80%;
max-width:416px;
}

Hope my comment will be useful, happy coding.

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