logo

Crowdly

Browser

Add to Chrome

Questions Bank (1464729 total)

¿Cómo se define una función con parámetros en JavaScript?

❌
❌
❌
✅
View this question

Виберіть елемент, який входить до етапу «Оперативне планування і управління комерційною роботою» при розробці єдиного технологічного процесу:

❌
❌
✅
❌
❌
View this question

¿Cuántas veces se ejecuta este bucle for?

for (let i = 0; i <=4; i++) {

    document.write(i);

}

0%
100%
0%
0%
View this question

¿Cómo se solicita al usuario que ingrese un dato en JavaScript?

0%
0%
0%
0%
View this question

¿Cómo corregirías este código para cambiar el contenido de un elemento con id "texto"?

let elemento = document.getElementById("texto");

elemento.innerHTML = "Hola";

0%
0%
100%
0%
View this question

¿Qué error tiene la siguiente función que usa un bucle while?

function cuentaAtras(num) {

       let i = num;

      while (i > 0) {

         document.write(i);

         i--;

      }

document.write("¡Cuenta!");

}

cuentaAtras(7);

0%
0%
0%
0%
View this question

¿Qué es JavaScript?

❌
✅
❌
❌
View this question

¿Qué salida genera este código?

let i = 5;

while (i > 0) {

        document.write(i);

         i--;

}

✅
❌
❌
❌
View this question

¿Cómo corregirías este código para cambiar el texto de un elemento con id "mensaje"?

let elemento = Document.getElementById("mensaje");

elemento.textContent = "Hola, mundo!";

0%
100%
0%
0%
View this question

¿Cómo se declara una variable en JavaScript?

0%
0%
0%
0%
View this question