Submitted about 3 years ago
Responsive Order Summary Component using HTML5 and CSS3
@afrussel
Design comparison
SolutionDesign
Solution retrospective
Feedback required
Community feedback
- @matthewohreluyPosted about 3 years ago
Yours looks really clean. It's perfect.
Marked as helpful0 - @pikapikamartPosted about 3 years ago
Hey, great work on this one. Layout in desktop and mobile seems fine. The desktop I think is too big.
Some suggestions would be:
- Avoid using
height: 100vh
. This will limit theheight
of the element and it will be fixed to 100% of the viewport's height. If you inspect your website in dev tools at the bottom, you will noticed that it can be scrolled. Instead, replace it withmin-height: 100vh
, it will take 100% of the viewport's height and it will expand if it needs to. You don't need to have theoverflow: hidden
, this will just cut the website which is not really good. - Wrap the whole content inside a
main
element. This will make it more structured and help user to navigate in your website. - The
alt
value of the music-icon should be left empty likealt=""
since it is not really adding to the content. If theimg
adds value to the website, add a descriptivealt
if it is just decorative like this one, leave italt=""
. - Also, avoid adding words that relates to "graphic" like "icon, image, illustration" as a value in
alt
text. Assistive tech will handle those for you. - Check the
change
dimension, try usingtab
key in your keyboard, you will notice that it takes a large portion compared to its content. You might want to check that one out. - Lastly, adding some
padding
to the top and bottom of thebody
tag, just to prevent the layout from touching the ceiling and flooring of the screen.
Aside from those, great work.
1 - Avoid using
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