Submitted about 3 years ago
Order Summary Component with HTML, CSS, Flexbox and Grid
@Ascecent
Design comparison
SolutionDesign
Solution retrospective
Hello everyone.
Here my approximation to the challenge.
Any feedback you have please post it.
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, great work on this one. Layout in desktop and mobile looks good and the layout scales very well in screen changes.
Some suggestions would be:
- Right now, the wave background-image is not applying. Avoid using
/
as the path of file,/
or root path works differently in github. Instead, the, on thebody
tag, on yourbackground
property, use../
on the path of the svg you are using. - The image on the card should use
alt=""
since the image is just a vector and just for decoration. If an image adds content to the website, use a descriptivealt
, but if the image is just for purely decoration, better using emptyalt=""
. - On the
body
tag, do not addwidth: 100vw
, this will just create a horizontal scrollbar which I assume you usingoverflow-x: hidden
to hide it. Just remove thewidth
property and remove theoverflow
as well. - The music icon should have
alt=""
as well. Also, when usingalt
avoid adding words that relates to "graphic" like "icon, logo, image", assistive tech will handle those for you. annual plan
could be a heading tag since the component itself is directly related to the pricing that the user have made. Making this a heading tag, user will know much faster what was their choice of plan, if for example they have forgotten it, since they could just navigate the heading tags.proceed to payment
andcancel order
should be usinga
tag and notbutton
. Usebutton
if it controls something, a modal like that.- Lastly, you don't need
position: absolute
on thefooter
:>
Aside from those, really great job.
Marked as helpful0 - Right now, the wave background-image is not applying. 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