change the background in javascript code example
Example 1: change background with js
document.body.style.backgroundColor = "red";
Example 2: change background with js
document.body.style.backgroundRepeat = "repeat-y";
document.body.style.backgroundColor = "red";
document.body.style.backgroundRepeat = "repeat-y";