change css display on dom element code example Example: display none js document.getElementById("myDIV").style.display = "none";