¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Sin título

Zoran Zorovicevic 6 preguntas

Hacer el test

Preguntas del test (6)

  1. 1Inside which HTML element do we put the JavaScript?
    1. A<script>
    2. B<javascript>
  2. 2What 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. B#demo.innerHTML = "Hello World!";
    3. Cdocument.getElement("p").innerHTML = "Hello World!";
    4. Ddocument.getElementByName("p").innerHTML = "Hello World!";
  3. 3Where is the correct place to insert a JavaScript?
    1. AThe <body> section
    2. BBoth the <head> section and the <body> section are correct
    3. CThe <head> section
  4. 4What is the correct syntax for referring to an external script called "xxx.js"?
    1. A<script name="xxx.js">
    2. B<script href="xxx.js">
    3. C<script src="xxx.js">
  5. 5How to write an IF statement for executing some code if "i" is NOT equal to 5?

    1. Aif (i != 5)
    2. Bif (i <> 5)
    3. Cif i =! 5 then
    4. Dif i <> 5
  6. 6What is the correct way to write a JavaScript array?
    1. Avar colors = ["red", "green", "blue"]
    2. Bvar colors = 1 = ("red"), 2 = ("green"), 3 = ("blue")
    3. Cvar colors = (1:"red", 2:"green", 3:"blue")
    4. Dvar colors = "red", "green", "blue"

Información

Descripción
Test sobre Sin título, creado por Zoran Zorovicevic el 12/01/2021.
Idioma
English
Visitas
0
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?