java scripot css style code example
Example 1: style through javascript
element.style.backgroundColor = "red"; // set the background color of an element to red
Example 2: how to change css using javascript
document.getElementById("myText").className = "anyNewClass"