DOM OOP

DOM OOP

1st Grade

8 Qs

quiz-placeholder

Similar activities

SOAL EVALUASI MULTIMETER

SOAL EVALUASI MULTIMETER

1st Grade

10 Qs

Teste rhello 7

Teste rhello 7

1st Grade

8 Qs

Ai nhanh hơn

Ai nhanh hơn

1st Grade

10 Qs

TEST LOKAKARYA PENGOLAHAN DATA AUDIT KEPABEANAN DAN CUKAI TA 2019

TEST LOKAKARYA PENGOLAHAN DATA AUDIT KEPABEANAN DAN CUKAI TA 2019

1st - 2nd Grade

10 Qs

Struktur Hirarki Basis Data Bagian 2

Struktur Hirarki Basis Data Bagian 2

1st Grade

10 Qs

WD 2 - More HTML

WD 2 - More HTML

KG - 12th Grade

10 Qs

Website Design

Website Design

KG - University

10 Qs

Styling CSS

Styling CSS

1st - 3rd Grade

10 Qs

DOM OOP

DOM OOP

Assessment

Quiz

Computers

1st Grade

Hard

Created by

Yacine Hamdada

Used 7+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The DOM is the set of functionality that browsers provide to enable developers to access and manipulate webpages. What does DOM stand for?

Direct Object Manipulation

Document Object Model

Document Object Manipulation

Document Oriented Model

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method does not exist to retrieve an HTML element?

document.getElementById()

document.getElementsByTagName()

document.getQuerySelector()

document.getElementsByClassName()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for a keyup event ?

eventTarget.keyup = eventHandlerFunction

eventTarget = eventHandlerFunction.onkeyup

eventTarget.onkeyup = eventHandlerFunction

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How will you retrieve an element with the id "first"?

document.getElementById("first")

document.querySelector("#first")

Both A and B

5.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

Media Image

Write how to retrieve the element with the id main using querySelector

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

When you're writing JS on a webpage, what is the name of the global variable that represents the DOM?

window

dom

global

document

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these lines of code would replace the content of a webpage with "Helloooo"?

document.innerHTML = ('Helloooo')

document.body.innerHTML = ('Helloooo')

document.body.HTML = ('Helloooo')

8.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The methods getElementsByClassName() and getElementsByTagName() both return a list of the matched elements, even if the match is for a single element.

True or false?

True

False