Intro section with dropdown navigation HTML/CSS (Responsive)
Design comparison
Solution retrospective
Hello, Frontend Mentor coding community. This is my solution for the Intro section with dropdown navigation.
I had some trouble creating the responsive component (mobile phone), but I was able to utilize CSS Flexbox and a tiny CSS Grid. The dropdown is functional, and I also created a hamburger for the mobile section. I also included some transition and hover effects.
I'm sure there are some improvements I could make, but I believe it's a decent result.
I would appreciate your feedback on my work.
Community feedback
- @mohamed-benoughidenePosted about 2 years ago
hi Laharl great job completing this challenge. I checked your code and i noticed that you didn't use any ARIA landmark. aria landmarks are very important for people how use screen readers because they navigate to a section based on its HTML element or ARIA Landmark. and you can do that by using the role attribute for example in line 103 of your code you can add it like this.
<div class="hero" role="main">
hope you find this helpful🥰.
1@UrbanskiDevPosted about 2 years ago@mohamed-benoughidene
Thank you for your feedbacks on my work !
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