Submitted over 2 years ago
intro-section-with-dropdown-navigation-main using css flexbox and js
@oussamaelhousni
Design comparison
SolutionDesign
Community feedback
- @prantiknoorPosted over 2 years ago
Oussama Elhousni, Nice work. How did you accomplish the layout of
.container > .left
is interesting.There are some improvements you can do:
- The links on the dropdown are not clickable. Because that is behind others. By adding a bigger
z-index
, that works fine. - By clicking other than the side nav bar, the nav bar should be closed. You can use the
.overlay
. You can add an event listener to that to close the nav bar. - Instead of switching images by making the display none. There is a better alternative. You can use
picture
. I believe you can do quick research on that.
Marked as helpful0@oussamaelhousniPosted over 2 years ago@prantiknoor YOUR FEEDBACK is so helpful i didn't notice these things thank you very much i will try to apply your notes
0 - The links on the dropdown are not clickable. Because that is behind others. By adding a bigger
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