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

Accessible Intro section with dropdown navigation

#accessibility
Cristina 360

@cr1deg0

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,

This project is great to learn about dropdown menus accessibility and keyboard navigation requirements.

The bit I'm unsure about is managing the image size, as it gets a bit small at some point when resizing the screen. If anyone can suggest a better solution it will be appreciated.

Thanks

Community feedback

Maxmillian 180

@MaxKolbe

Posted

Hello. Good work on the page, in order to manage screen size it would be better to remove the height property you added and replace it with a width property with a percentage value. E.g. Width: 100%. Let me know if that works. The dropdown menu activated on-hover but sometimes I'd leave the menu and it would still be open till I went back to hover over it again

Marked as helpful

0

Cristina 360

@cr1deg0

Posted

@C1h2i3d4i5 thanks for the feedback. I've tried your suggestion, setting width: 100% and height: auto for the desktop solution (need to keep height property for mobile solution to avoid the image container collapsing) and it seems to work much better. Thank you!

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