I want to remove the button itself onclick. Can someone help me.
HTML:
<div id="hideButton">
    <a onclick="removeButton()" class="button1">PRESS</a>
</div>
Java Script:
function removeButton() {
    var element = document.getElementsById("hidebutton");
    element.classList.remove("button1");
  }
Every help is much appreciated :)
 
     
     
     
    