Design comparison
SolutionDesign
Solution retrospective
Feel free to add any comments which helps me to improve :)
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, awesome work for this one. Layout in general looks fine.
Some suggestions would be:
- Avoid using
height: 100vh
on a large container like themain
element, this makes the element's height limited to only the remaining viewport/screen's height. Instead, usemin-height: 100vh
on it, this takes full height and will expand if it needs to. - Remove the
width: 1440px
on themain
element, this gives it fixedwidth
thus creating the horizontal scrollbar at the bottom. Instead, usemax-width: 1440px
on it. - The
alt
value for the image should be usingalt=""
or empty, since it is just a vector illustration and it is just a decorative image. Also when usingalt
attribute, avoid using words that relates to "graphic" such as "image, icon, logo.." no need to describe it as an image, since it is already one. - I would personally use
a
tags on theproceed to payment
andcancel order
since the card itself is not aform
where I can usebutton
element.
Aside from those, great work again on this one.
0 - Avoid using
- @OmKakatkarPosted about 3 years ago
Looks great! You can try adding some more padding (padding-bottom) below the cancel order button.
0
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