Search Header Logo

FSD DAY -3 102

Authored by Risen music

Engineering

University

Used 3+ times

FSD DAY -3 102
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What does DOM stand for

  1. A Document Orientation Model


  1. B Data Object Model

  1. C Document Object Model

  1. D Dynamic Object Model

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to get an element by ID

A getElement

B getById

C querySelector with hash id

D getElementById

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. How can you change the text of an HTML element with id="demo"?

A) demo.text = "Hello"

B) document.text("demo") = "Hello"

C) document.getElementById("demo").innerHTML = "Hello"

D) innerHTML("demo") = "Hello"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Which BOM object represents the browser window?

A) document

B) window

C) location

D) screen

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. What does navigator.userAgent return?

A) User’s login name

B) User’s location

C) Browser and OS details

D) Screen size

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Which method shows a pop-up alert?

A) pop()

B) alert()

C) window.pop()

D) display()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Which of these is not a JavaScript data type?

A) String

B) Boolean

C) Float

D) Object

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?