Mobile Navigation button not working

ive updated the script with the classlist toggle. Not sure why this didn’t work in the first place. This is the only reason that i’ve went the if route to begin with .

Oh I get it. the toggle isn’t working because I already have a margin left property as a default… this is driving me crazy :crazy_face:

I FIXED IT :skull:

I got the classlist . toggle working.

I had to remove the default margin left property that I had on the original div so that when I add the class it adds the a margin that becomes visible :crazy_face:



1 Like

thanks a bunch for your help guys, I really appreciate it. this was a real head scratcher for me :pray: :pray: :pray: @bbsmooth @anon38330656

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.