title: How to remove class attribute from div?
body: <p>I am using JavaScript and I want to add/remove a Class attribute if a button is clicked. I am able to add the class, but I don't know how to remove it. how can I do that?</p>
  
  <pre><code>window.onload = function(){
      var buttonGo = document.getElementsByTagName('button')[0];
      var buttonCom = document.getElementsByTagName('button')[1];
      var box = document.getElementById('box');
      buttonGo.onclick = function(){
          box.setAttribute('class','move');
      }
      buttonCom.onclick = function(){
          // how to remove class name?
      }
  }
  </code></pre>