Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
8 - Performant Animations
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