Created
September 9, 2020 06:49
-
-
Save wpflames/987aba9bac005db31f676e1ec7001026 to your computer and use it in GitHub Desktop.
JavaScript toggle to add “active” class HTML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <button id=""btn-toggle" onclick="toggle()">Button</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment