HTML & CSS (No JavaScript even Hamburger menu.)
Design comparison
Solution retrospective
can you accept this without Hamburger menu or other CSS animations?
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, awesome work on this one. Layout in desktop is good, and for the mobile, it is good, but like you said, the hamburger is not present.
For me, I would accept this but even without hamburger menu but of course, if you are working with a team, you would need to follow the design, just to give importance to the designer's work.
Also, even without animations, it is already nice. You don't really need to add many animations, only add animations to elements that you think it really needs, like an interactive elements, a link, a button like those. But if the element is supposed to be stagnant, you don't need to add animations.
Some suggestions also would be:
- The
a
tag that nest the sunnyside logo on yourheader
andfooter
should have anaria-label
. Since mostly websites uses the brand logo as a link to go to the homepage, usingaria-label="homepage"
on thea
tag will be really good.aria-label
is a piece of text that assistive techs reads when they are at that element. - Add a
main
element on your website. Adding this will make your site accessible, since it guides a user to where that user is currently at when navigating your website. On this one, it would wrap all the content starting from the first section, going down to the bottom, but not including thefooter
. It would look like
<header></header> <main></main> <footer></footer>
- The
a
tag on the arrow icon on the hero section should have anaria-label
. On this one, since the arrow-icon is like a go down right, like when clicking it, the focus would go down. I suggest adding the page-link name to thearia-label
, likearia-label="main"
if the arrow would take the user to the main. Also thealt
text on the arrow-icon should have been left empty likealt=""
. When you are using images on you website, if you think that the image doesn't add any meaning or content, you should usealt=""
. If the image on the other hand adds content, add a meaningfulalt
attribute. - The
alt
text of the person on the testimonial section could have used their name as the value, likealt="Emily R"
. aria-label
should have been also used on the social media links. For example, thea
tag that holds the facebook icon should bearia-label="facebook"
.
Other than those, great job. But remember on other challenges, to follow what the design is, because that is what others do at real job okay.
Marked as helpful0 - The
- @CarlTheBeginnerPosted about 3 years ago
I'm glad sir that you found my mistake on that. I will do better next 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