how to change the background color of the html webpage using javascript code example
Example 1: javascript change background color
document.body.style.backgroundColor = "yellow";
Example 2: set background color dynamically javascript
document.body.style.backgroundColor="white"