Menu
×
×
Correct!
Exercise:Use JavaScript to change the image source from "scream.png" to "smiley.gif".
<body>
<img id="demo" src="scream.png"> <script> @(8).getElementById("demo").@(3) = "smiley.gif"; </script> </body>
<body>
<img id="demo" src="scream.png"> <script> document.getElementById("demo").src = "smiley.gif"; </script> </body> Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 90 exercises.
Are you sure you want to continue?