title: How To Delete Element by class (Native Method)
body: <pre><code>    function reloadItems()
      {
          var docBody = document.body;
          docBody.removeChild(document.getElementsByClassName("itemsLayout"));
      }
  </code></pre>
  
  <p>I'm Using This Code to delete an element in my DOM, but once i fire the code nothing happen, I'm using XAMPP Local Server and don't know the reason of this bug</p>
  
  <p>"This element is a direct child in the body of the DOM"</p>