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

Css and Html only

@gireisalim

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

IryDev 1,580

@IryDev

Posted

Hey @gireisalim, well done for completing this challenge😄

I have some advice in order to improve your solution :

  • You didn't use semantic HTML that can improve accessibility on your website
  • wrap the whole main content of your page in the main tag
  • Your page should have at least one h1 tag
  • I suggest the h1 to be "Order Summary"
  • If you want to correctly center your card use the property display: flex ; align-items: center; justify-content: center

HTML :

<body>
<main>
<div class="container">
</div>
</main>
</body>

CSS :

.container{
display: flex;
align-items: center;
justify-content: center;
}

I hope you'll find this helpful😄

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