js change backgrund colur code example
Example 1: how to change background color using js
var warning = document.getElementById("warning");
warning.style.background-color = "red";
Example 2: change background with js
document.body.style.background = "#f3f3f3 url('img_tree.png') no-repeat right
top";