Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Intro section with dropdown navigation { HTML - CSS - Vanilla JS }

@FelipeCastroDEV

Desktop design screenshot for the Intro section with dropdown navigation coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi everyone, hope you like my solution =)

i created two dropdowns menu system, a dropdown menu using css hover for desktop users, and a dropdown with mouse click event for mobile users using Javascript, implemented a function to close the mobile menu when the user click on any menu link.

in mobile version the dropdown is collapses when the user clicks outside the dropdown menu element.

what's your opinion about my solution ? any feedback ?

Community feedback

yishak abrham 2,150

@yishak621

Posted

I did the same too it collapse when the user is redirected to another link

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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