Answers for "setting background color with javascript"

0

document.body.style.background

// Change the background color to red
document.body.style.backgroundColor = "red";
Posted by: Guest on November-22-2020
2

JavaScript Change Background Color

var element = document.body;
element.style.backgroundColor = "blue";
Posted by: Guest on October-27-2020

Code answers related to "setting background color with javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language