js reference css code example
Example 1: add css in javascript
document.getElementById("demo").style.display = "none";
Example 2: javascript css
document.getElementById(id).style.property = new style
document.getElementById("demo").style.display = "none";
document.getElementById(id).style.property = new style