Search Header Logo

Javascript DOM

Authored by Portia Morrell

Computers

9th Grade

Used 102+ times

Javascript DOM
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indicates the beginning and the end of a JavaScript section. / Indique le début et la fin d'une section JavaScript.

<html> </html>

<style> </style>

<article> </article>

<script> </script>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can a developer show a pop-up message to the user on the browser window? / Comment un développeur peut-il afficher un message contextuel à l'utilisateur dans la fenêtre du navigateur?

alert

prompt

console.log

<p> tag

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which message will the user see? / Quel message l'utilisateur verra-t-il?

"Hello user"

No message / Pas de message

"Goodbye user"

"message + user"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following JavaScript methods are you most likely to use to activate a button? / Laquelle des méthodes JavaScript suivantes êtes-vous le plus susceptible d'utiliser pour activer un bouton?

onmouseover

onload

whenclick

onclick

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What DOM Property is used to update the text of an HTML tag? / Quelle propriété DOM est utilisée pour mettre à jour le texte d'une balise HTML?

id

innerHTML

src

style

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is one key characteristic of an id? / Quelle est une caractéristique clé d'un identifiant?

It must be capitalized / Il doit être capitalisé

It must be unique to one tag / Il doit être unique à une balise

It cannot include numbers / Il ne peut pas inclure de chiffres

It must go in the closing tag / Il doit aller dans la balise de fermeture

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the proper way to call the testFunction() function when a button is clicked? / Laquelle des propositions suivantes est la bonne façon d'appeler la fonction testFunction () lorsqu'un bouton est cliqué?

onclick=testFunction

when button clicked = "testFunction()"

onclick="testFunction()"

onclick="testFunction"

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?