Lecture 6

Lecture 6

Professional Development

10 Qs

quiz-placeholder

Similar activities

Js объекты

Js объекты

Professional Development

15 Qs

Basic CSS

Basic CSS

Professional Development

15 Qs

CSS Selectors

CSS Selectors

Professional Development

10 Qs

CSS Descendants

CSS Descendants

Professional Development

10 Qs

MEGASYSTEM - TECH

MEGASYSTEM - TECH

Professional Development

10 Qs

Exploring JavaScript DOM Concepts

Exploring JavaScript DOM Concepts

Professional Development

15 Qs

Functions in JavaScript

Functions in JavaScript

Professional Development

12 Qs

AJWT Unit - I Quiz

AJWT Unit - I Quiz

Professional Development

15 Qs

Lecture 6

Lecture 6

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Nam Nguyen

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does DOM stand for?

A. Document Object Method

B. Document Object Model

C. Data Object Model

D. Data Object Method

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a method to access an HTML element in the DOM?

A. getElementById

B. getElementsByClassName

C. getElementsByTagName

D. getElementByQuery

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the querySelector method do?

A. Selects all elements that match a specified CSS selector

B. Selects the first element that matches a specified CSS selector

C. Selects an element by its ID

D. Selects elements by their class name

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following properties would you use to change the text inside an HTML element?

A. innerHTML

B. outerHTML

C. innerText

D. outerText

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you create a new HTML element using JavaScript?

A. document.createElement()

B. document.newElement()

C. document.makeElement()

D. document.buildElement()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The DOM represents the structure of an HTML document as a tree of objects.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The appendChild method adds a node as the last child of a parent node ?

True

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?