×
×
Correct!
Use JavaScript to change the image source from "scream.png" to "smiley.gif".
<body>
<img id="demo" src="scream.png"> <script> document.getElementById("demo").src = "smiley.gif"; </script> </body> Not CorrectClick here to try again. Correct!
<body>
<img id="demo" src="scream.png"> <script> .getElementById("demo"). = "smiley.gif"; </script> </body> |