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

Responsive Intro-Section-With-Dropdown-Navigation

@jaheemprevost

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


What could I have done better? Feedback would be greatly appreciated. Also, could I be given some advice on how to animate an element when it's display is being changed to none or a valid alternative if that's not possible.

Community feedback

@johnsiner

Posted

Hello, great job on the webpage. I don't think you can animate an element when its display is changed to none because when the display is changed to none the element is instantly removed from the dom. An alternative will be to set the width or height of the element to 0, or the translate it outside of the available veiwport space with animation added.

Marked as helpful

1

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