Search Header Logo

Clase 06-12-2024

Authored by DAPHNE YASMIN ORIHUELA ARANGUREN

Other

Professional Development

Used 2+ times

Clase 06-12-2024
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué método se utiliza para obtener el valor de un elemento input en JavaScript?

getElementById().innerHTML

getElementById().innerText

getElementById().value

getElementById().text

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué evento se utiliza en el código para validar los campos cuando pierden el foco?

onclick

onchange

onsubmit

onblur

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué método se utiliza para eliminar espacios en blanco al inicio y final de una cadena?

strip()

clean()

trim()

clear()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué método se usa para redondear un número decimal al entero más cercano?

round()

ceil()

floor()

toFixed()

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué propiedad se utiliza para cambiar el color del texto de error?

color

textColor

fontColor

style.color

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué método se utiliza para convertir un string a número entero?

toInt()

Number()

parseInt()

convertInt()

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Qué propiedad se usa para establecer el mensaje de error en el span?

innerHTML

textcontent

textContent

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?