0
Q:

es6 toogle class


function myFunction() {
  var element = document.getElementById("myDIV");

    element.classList.toggle("mystyle");
} 
3

New to Communities?

Join the community