0 / 60 seg.

How would you change the background color of an element with the id "myDiv" to red using JavaScript?

<div id="myDiv"></div>
document.getElementById("myDiv").style.? = 'red';