×
×
Correct!
Use JavaScript to set the color of the
<body>
<p id="demo">Hi.</p> <script> document.getElementById("demo").@(5).@(5) = "red"; </script> </body>
<body>
<p id="demo">Hi.</p> <script> document.getElementById("demo").style.color = "red"; </script> </body> Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 106 exercises.
Are you sure you want to continue?