@kongguksuSubmitted about 2 years ago
I couldn't figure out the way to make the active state of the mobile version work the way I wanted it to. I wanted to keep the original button from the non-active state without having to make a fake button that serves for nothing but just the looks during the active state. I ended up making a separate div with the fake button for the active state and used the classList to show and hide elements.
I'm planning to check other people's codes, but any feedback is welcome!