js update background color style in the DOM code example Example: javascript change background color document.body.style.backgroundColor = "yellow";