Design comparison
Solution retrospective
I can't get the footer to shrink in size , please i need feedback
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, great work on this one. The layout in desktop seems fine, on mobile state, the font-size could be lower down since it is big right now. Also the responsiveness can be improved, while resizing, there are sections where overlapping occurs, the font-size not scaling and the sizes of containers shrink but not the content.
Some suggestions would be:
- The company logo in the
header
should havealt="fylo"
, since the image itself have the text on it, better use it on thealt
attribute. - The
ul
in theheader
should be wrap inside anav
so that screen reader users will know that these are navigational links. - The links as well in the
header
should be wrapped inside ana
tag because those are links. - The large text on the
header
should have been wrapped insideh1
noth3
. Always have at least 1h1
on a webpage. Do not also skip a heading tag. When you useh3
make sure that there areh1
andh2
. - The
get started
is better when it will be aa
tag since it looks like it is a link rather than abutton
control. - When you have an
img
element and you think it doesn't add anything, usealt=""
on them. - On the testimonial section, the
img
of the person should have their name as thealt
value likealt="satish patel"
. - On the
cta
section, the emailinput
should be wrapped inside aform
element including thebutton
next to it. Having also a validation on it will be really great so that you could practice more about js. - The email
input
should have alabel
that will be pointed to it. Thelabel
could be asr-only
text, only visible for screen reader users. - The
button
next to it should havetype="submit"
, be explicit on what your controls should act. Adding alsocursor: pointer
on the:hover
state on desktop will be really great. - On the
footer
the website logo should usealt="fylo"
as well. Avoid adding words that relates to "graphic" like "logo, icon, picture.." as a value onalt
attribute. - The
footer
links should be wrapped inside their owna
tag and be nested inside aul
element. Since those are list of links, it would be great as well if it nested inside anav
, it would look like:
<nav> <ul> { links goes in here } </ul> </nav>
Lastly, you need to test your layout in dev tools before submitting. Check if the layout is good when you change the screen size, that is why you need to improve the responsiveness of it.
Aside from those, great work.
Marked as helpful1 - The company logo in the
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