Menu
×
×
Correct!
Exercise: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!Next ❯ |
This will reset the score of ALL 88 exercises.
Are you sure you want to continue?