Submitted about 3 years ago
Responsive order summary component with flexbox
@QuentinZimmer
Design comparison
SolutionDesign
Solution retrospective
I'm a beginner so can you tell me the things I need to improve.
Community feedback
- @zyq-mPosted about 3 years ago
Hi Quentin.
Well done buddy. That was close to design. I notice that your
order_summary
is not centered well. You forgot to set theheight
of thebody
. You can fix this by:- set the height of body
body { height: 100vh; }
- remove
margin-top
oforder_summary
That's it. Happy coding!!
0 - set the height of body
- @muhammadshajjarPosted about 3 years ago
Well done Quentin, as it is your first solution you did a great job.
I have some suggestions for you,
- All tags have semantic meanings so use appropriate tags, proceed to payment more likely an
anchor
tag because it implies to navigation but it is 100%, not anh3
- Your images should have alt attribute but for decorative images, you should leave alt as blank and use role=" presentation" or aria-hidden=" true"
- Don't use
width
instead of try 'max-width' - To overcome your accessibility issue you would need to add some semantic markers to designate sections of the page as the header, navigation, main content, and footer e.g:
<section> </section> </main>```
0 - All tags have semantic meanings so use appropriate tags, proceed to payment more likely an
Please log in to post a comment
Log in with GitHubJoin 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