Lecture 6

Lecture 6

Professional Development

10 Qs

quiz-placeholder

Similar activities

jQuery I

jQuery I

Professional Development

15 Qs

JQuery

JQuery

Professional Development

10 Qs

JavaScript DOM

JavaScript DOM

Professional Development

7 Qs

ILT #1 Web Basic

ILT #1 Web Basic

Professional Development

10 Qs

SASS, CSS Animation, RWD

SASS, CSS Animation, RWD

Professional Development

10 Qs

CSS Selectors

CSS Selectors

Professional Development

10 Qs

HTML Introduction

HTML Introduction

3rd Grade - Professional Development

10 Qs

JRDL - Adv HTML & CSS

JRDL - Adv HTML & CSS

6th Grade - Professional Development

12 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?