×
×
Correct!
Use JavaScript to set the color of the
<body>
<p id="demo">Hi.</p> <script> document.getElementById("demo").style.color = "red"; </script> </body> Not CorrectClick here to try again. Correct!
<body>
<p id="demo">Hi.</p> <script> document.getElementById("demo"). . = "red"; </script> </body> |