how to set css in js code example
Example 1: how to change css with js
document.querySelector('h1', container).style.backgroundColor = 'red';
Example 2: add css in javascript
document.getElementById("demo").style.display = "none";
document.querySelector('h1', container).style.backgroundColor = 'red';
document.getElementById("demo").style.display = "none";