Quiz
Quiz to test your JS knowledge
This quiz has a time limit, so it opens in the usual player.
Questions in this quiz (10)
11. Inside which HTML element do we put the JavaScript?
- A<js>
- B<javascript>
- C<scripting>
- D<script>
22. What is the correct JavaScript syntax to change the content of the HTML element below?
<p id="demo">This is a demonstration.</p>- Adocument.getElementById("demo").innerHTML = "Hello World!";
- Bdocument.getElementByName("p").innerHTML = "Hello World!";
- Cdocument.getElement("p").innerHTML = "Hello World!";
- D#demo.innerHTML = "Hello World!";
3PHP is a client-side scripting language
- ATrue
- BFalse
4 The [blank_start]Java source statement[blank_end] is used to include another Java package in
- AJava source statement
5[blank_start]Anchor[blank_end] tag is used to create a hyper link.
- AAnchor
- BSpear
- CHarpoon
6[blank_start]One[blank_end] is the literal for 1
- AOne
- BTwo
- Cthree
7 Where is the correct place to insert a JavaScript?
- ABoth the <head> section and the <body> section are correct
- BThe <body> section
- CThe <head> section
8The external JavaScript file must contain the <script> tag.
- ATrue
- BFalse
9How do you create a function in JavaScript?
- Afunction = myFunction()
- Bfunction:myFunction()
- Cfunction myFunction()
10 How to write an IF statement in JavaScript?
- Aif (i == 5)
- Bif i == 5 then
- Cif i = 5
- Dif i = 5;
Information
- Description
- Quiz on Quiz to test your JS knowledge, created by Zephyr Crephor on 29/03/2017.
- Author
- Zephyr Crephor
- Language
- English
- Views
- 3
- Rating
- No ratings yet Rate this quiz