4) DOM Scripting (Checkpoints 22-28)

Descrição

Quiz sobre 4) DOM Scripting (Checkpoints 22-28), criado por Sanny Lin em 24-03-2016.
Sanny Lin
Quiz por Sanny Lin, atualizado more than 1 year ago
Sanny Lin
Criado por Sanny Lin aproximadamente 9 anos atrás
19
1
1 2 3 4 5 (3)

Resumo de Recurso

Questão 1

Questão
DOM stands for: D[blank_start]ocument[blank_end] O[blank_start]bject[blank_end] M[blank_start]odel[blank_end]
Responda
  • ocument
  • bject
  • odel

Questão 2

Questão
Each element of the DOM is best known as a what?
Responda
  • node
  • object
  • element
  • item

Questão 3

Questão
What does the selector `document.getElementsByClassName()` return?
Responda
  • a NodeList
  • an object
  • an array
  • undefined

Questão 4

Questão
Using no helper libraries, just DOM scripting, what property do you use to change the style of an element?
Responda
  • .style()
  • .css()
  • .transform()
  • .js()

Questão 5

Questão
A commonly used metaphor to describe the DOM is...
Responda
  • a tree
  • the solar system
  • a cactus
  • a speeding bullet

Questão 6

Questão
window.addEventListener('scroll', function(event) { console.log(event); }); What is "scroll" in this context?
Responda
  • an event to listen for
  • an event to trigger
  • a function to execute
  • none of these

1 comentário

about 9 years ago
Hi Sanny! For #1 in Quiz 4, wouldn't the more correct answer be object? Document.getElementsByClassName() returns an array-like object. Please see the following Stack Overflow link: http://stackoverflow.com/questions/3871547/js-iterating-over-result-of-getelementsbyclassname-using-array-foreach

Semelhante

Cap. 01 - Sistemática e Classificação Biológica
renpv
Tipos de sujeito
Roberta Souza
Engenharia de Produção
ismael-airoso
Fonética, ortografia e acentuação gráfica
GoConqr suporte .
Como Estudar Matemática
GoConqr suporte .
Pré-História
Valdemir Júnior
RENASCIMENTO CULTURAL
Lucas Villar
EA-HSG-2014 Questões achadas no app QUIZADA na playstore
carloshenriquetorrez .
Guia de Estudos ENEM 2016
GoConqr suporte .
Técnicas de Estudo
vivi sousa