js .style display none code example
Example 1: display none js
document.getElementById("myDIV").style.display = "none";
Example 2: javascript display block
document.getElementById("someElementId").style.display = "block";
document.getElementById("myDIV").style.display = "none";
document.getElementById("someElementId").style.display = "block";