Design comparison
SolutionDesign
Community feedback
- @pikapikamartPosted almost 3 years ago
Hey, really nice work on this one. The desktop layout looks really great, though I noticed that the
main
tag is not occupying the full width thus not applying thebackground-color
on the wholewidth
. The site is responsive and the mobile state looks great.I don't know if you need one, but here are some suggestions:
- Adding a
max-width
on thebody
tag would be nice. If you try to zoom out on your screen, you will see that the content is just stretching out along the screen, meaning users will wide screen will get this. Adding thatmax-width
will prevent it as it will limit the layout's size. Just don't forget to addmargin: 0 auto
as well on thebody
so that it will be centered. - The
header
is not really needed on this one. Using theheader
inside themain
just renders it as a normal element. You can replace it withdiv
on this. - The text
Reliable, efficient delivery Powered by Technology
is not really a two text, it is a single phrase, meaning you will just need to use a singleh1
to wrap it and usemax-width
on it so that it will placed the text on another row like in the design. - Change the
section
tag into justdiv
.section
is not informative when treated as landmark unless it is labelled by a heading tag witharia-labelledby
. You can use alsosection
when there is already a present visible heading tag where asection
will nest. - Change each
article
into justdiv
.article
element is typically used when you want the element to be redistributed on another page because anarticle
tag's content is independent on its own. - Use
h2
for each of the card heading tag. - Adding an extra
aria-hidden="true"
on each of the card icon would be nice so that they will be skipped by screen-reader.
Aside from those, great job again on this one.
Marked as helpful2 - Adding a
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