Dropdown won't go back when it slides down

I've cloned Kevin's responsive css navbar and added a dropdown feature, now i'm having trouble trying to get the dropdown list to slide back up when i scroll away from the parent element. Please assist! Here is my code in CodePen. https://codepen.io/highkeysaiyan/pen/YzBQbQG
No description
1 Reply
Mannix
Mannix•14mo ago
scroll away?? you mean move away ?? I'm not seeing any issue with hiding it 🙂 I can't seem to go on the links in the dropdown but that a different issue
Want results from more Discord servers?
Add your server