Design comparison
SolutionDesign
Solution retrospective
If(like){ console.log('leave a comment'); }else{ console.log('leave a comment as well '); }
cheers!!!
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, awesome work on this one. Witty with that questions of yours haha. The desktop layout is fine just needed a bit of padding to make it more compact. Responsive state could be better since when going into mobile layout the hero-sections background is not occupying the whole screen's width. The mobile layout looks great.
Some suggestions would be:
- Do not style the
html
element, set those inside thebody
tag. Also, avoid usingheight: 100vh
as this limits the element's height based on the remaining screen. Instead usemin-height: 100vh
this takes full height but lets the element expand. - Always have a
main
element to wrap the main content of your site. On this one, the.wrapper
should usemain
instead of justdiv
. - Block element should not use
width : 100%
as by default it uses this. - Now, a typical layout looks like:
<header /> # contains the website-logo, navlinks <main /> # main content of the page <footer /> # footer
- The website-logo should not be inside
nav
.nav
element should only contain the navigational links of your website. - Use
alt="huddle"
on the website-logo, always be descriptive at website-logo. Also avoid using words that relates to "graphic" inalt
attribute like "logo, icon, image.."img
is a graphic so no need to describe it as one. - I would use
a
tag for theget started for free
since it looks like thetry for free
link that you used. - Hero-image should be using an
aria-hidden="true"
so that it will be totally hidden. - I wouldn't use
alt
for the subsequent images since they are only vector images and could be hidden buy usingalt=""
andaria-hidden="true"
on it. Decorative images should be hidden at all times.
FOOTER
- You are missing the website-logo.
- The 6 links should not be separated in two list, those are all related to one another. You should use 1
ul
on them and you can nest theul
inside anav
since those are your website's navigational links and since they are links, usea
tag for each. - Social media links should be using
a
tag for each and useul
element since those are "list" of links. - Each
a
tag that wraps the social media should have eitheraria-label
attribute or screen-reader element inside it. The value for whatever method you will use should state where the link would take them likearia-label="facebook"
. - Each social media icon should be hidden since they are only decorative, use the method I mentioned earlier to hide elements.
Aside from those, great work again on this one.
Marked as helpful0 - Do not style the
- @ziarnkoPosted about 3 years ago
Thats a lot of information from you , thanks a lot for your time !!!!!!
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