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

Challenge 2 Order Summary Component (v2)

#foundation#accessibility

@nnall

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


Looking for any feedback on updated Challenge 2!

Community feedback

Adriano 34,090

@AdrianoEscarabote

Posted

Hi Nicholas Nall, how are you?

I really liked the result of your project, but I have some tips that I think you will enjoy:

As you know this project is based only on one page component, so no h1 is needed! because we don't know if this page will have a more important component, but it's always good to prevent accessibility errors so I think it would be good for you to add an h1 in this component, besides being a good practice for when you are developing larger sites, don't worry forget about h1.

avoid trying to center the content with margin or padding, prefer to use flexbox or grid, like this:

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min height: 100vh;
}

The rest is great!

I hope it helps... 👍

1

@nnall

Posted

@AdrianoEscarabote

Thank you Adriano! After getting some advice from my last challenge I"m going to soon replace this version, h1 was an error there too.

1
Adriano 34,090

@AdrianoEscarabote

Posted

@nnall 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