GoConqr has a new look! Let us know what you think.

Quiz

Quiz to test your JS knowledge

Zephyr Crephor 10 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (10)

  1. 11. Inside which HTML element do we put the JavaScript?
    1. A<js>
    2. B<javascript>
    3. C<scripting>
    4. D<script>
  2. 22. What is the correct JavaScript syntax to change the content of the HTML element below?
    <p id="demo">This is a demonstration.</p>
    1. Adocument.getElementById("demo").innerHTML = "Hello World!";
    2. Bdocument.getElementByName("p").innerHTML = "Hello World!";
    3. Cdocument.getElement("p").innerHTML = "Hello World!";
    4. D#demo.innerHTML = "Hello World!";
  3. 3PHP is a client-side scripting language
    1. ATrue
    2. BFalse
  4. 4 The [blank_start]Java source statement[blank_end] is used to include another Java package in
    1. AJava source statement
  5. 5[blank_start]Anchor[blank_end] tag is used to create a hyper link.
    1. AAnchor
    2. BSpear
    3. CHarpoon
  6. 6[blank_start]One[blank_end] is the literal for 1
    1. AOne
    2. BTwo
    3. Cthree
  7. 7 Where is the correct place to insert a JavaScript?
    1. ABoth the <head> section and the <body> section are correct
    2. BThe <body> section
    3. CThe <head> section
  8. 8The external JavaScript file must contain the <script> tag.
    1. ATrue
    2. BFalse
  9. 9How do you create a function in JavaScript?
    1. Afunction = myFunction()
    2. Bfunction:myFunction()
    3. Cfunction myFunction()
  10. 10 How to write an IF statement in JavaScript?
    1. Aif (i == 5)
    2. Bif i == 5 then
    3. Cif i = 5
    4. Dif i = 5;

Information

Description
Quiz on Quiz to test your JS knowledge, created by Zephyr Crephor on 29/03/2017.
Language
English
Views
3
Rating
No ratings yet
Rate this quiz
Rate this quiz

More on JavaScript

Feedback

What is it about?

What do you think of the new look?

How do you like it?