Last active
August 9, 2017 12:40
-
-
Save IvanaSays/f432a50a3d902858c0ba9eb3b46cbc74 to your computer and use it in GitHub Desktop.
8 - Performant Animations
This file contains 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
var box = document.getElementById("box") | |
box.addEventListener("click", function(){ | |
box.classList.toggle("class-name"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment