JavaScript Quiz
Sign in to Google to save your progress. Learn more
Inside which HTML element do we put the JavaScript?
5 points
Clear selection
What is the correct JavaScript syntax to change the content of the HTML element below? <p id="demo">This is a demonstration.</p>
5 points
Clear selection
Where is the correct place to insert a JavaScript?
5 points
Clear selection
What is the correct syntax for referring to an external script called "xxx.js"?
5 points
Clear selection
The external javascript must contain script tag
5 points
Clear selection
How do you write "Hello World" in an alert box?
5 points
Clear selection
How do you create a function in JavaScript?
5 points
Clear selection
Submit
Clear form
This content is neither created nor endorsed by Google.