Exam Questions and Answers |
Already Graded A+
1. Inside which HTML element do we put the JavaScript? - ANSWER
✔✔<script>
2. What is the correct JavaScript syntax to change the content of the
HTML element below?
<p id="demo">This is a demonstration.</p> - ANSWER
✔✔document.getElementById("demo").innerHTML = "Hello World!";