Which line of code should you use?
You have the following markup. You need to rotate the div programmatically by 45 degrees. Which line of code should you use? A. document.getElementById("yellow").style.rotate(45); B. document.getElementById("yellow").style.transform = "rotate(45deg)"; C. document.getElementById("yellow").style.rotate3d("45deg"); D. document.getElementById("yellow").style.rotateX(45);