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

the site is responsive and has links to other sites.

Orji Michaelโ€ข 160

@Xlence1624

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

@MelvinAguilar

Posted

Hi @Xlence1624 ๐Ÿ‘‹, good job on completing this challenge! ๐ŸŽ‰

Here are some suggestions you might consider:

With semantic tags:

<body>
   <main class="card">
      . . .
   </main>
<body>
  • The container isn't centered correctly. You can use flexbox to center elements:
body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

Links with more information:

.

  • The music icon is for decoration purposes only, so it could be hidden from screen readers by adding aria-hidden="true" and leaving its alt attribute empty:
<img src="./images/icon-music.svg" alt aria-hidden="true">

I hope those tips will help you.

Good job, and happy coding!

Marked as helpful

2

Orji Michaelโ€ข 160

@Xlence1624

Posted

@MelvinAguilar thank you so much. I appreciate your helpful comments. I'll ensure I get back and apply everything you pointed out.

Thanks for the links too.

1

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