Navbar not 'sliding' when invoking function

Hi there!
I’m learning JS and following a YT tutorial for a responsive navbar that I’m using for a client’s website. I followed the tutorial exactly, but when I invoke the function … my navbar doesn’t ‘slide’ in.

Here is a JSBin of the code … if anyone can help me figure it out I’d greatly appreciate it!

Thanks in advance for any help!

Put .nav-active in your CSS after second .main-nav.

Wow! Thank you so, so much @jenovs !! I would’ve never guessed the placement of where I had .nav-active in my CSS was the issue! :sweat_smile: