how to use display none in javascript code example
Example 1: display none js
document.getElementById("myDIV").style.display = "none";
Example 2: display none java script
<style>body{display:none;}</style>
document.getElementById("myDIV").style.display = "none";
<style>body{display:none;}</style>