JS DOM

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Полина Шестакова
Used 4+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод используется для получения элемента по его идентификатору (ID) в DOM?
getElementById()
querySelector()
getElementByClassName()
getElementsByTagName()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод используется для создания нового элемента в DOM?
createNewElement()
document.createElement()
addElement()
makeElement()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как добавить новый элемент в конец существующий элемент?
prepend
after
append
before
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод удаляет элемент из DOM?
deleteElement()
removeChild()
remove()
clear()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как изменить текстовое содержимое элемента (информация выводиться полностью строкой с HTML содержимым)?
element.textContent = "новый текст"
element.innerText = "новый текст"
element.setText("новый текст")
element.updateText("новый текст")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Как установить обработчик события для элемента?
addEventListener()
setEventListener()
onEvent()
attachEvent()
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Как получить все элементы с определённым классом? (несколько вариантов ответа)
getElementsByClassName()
getClassElements()
querySelectorAll()
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
cloud technology

Quiz
•
11th Grade
13 questions
Процессоры

Quiz
•
7th - 10th Grade
20 questions
HTML & CSS

Quiz
•
9th - 12th Grade
15 questions
Создание оконных приложений в PascalABC

Quiz
•
11th Grade
18 questions
Двумерный массив Python

Quiz
•
9th Grade
22 questions
одномерные массивы

Quiz
•
10th Grade
18 questions
глав_1

Quiz
•
9th - 12th Grade
15 questions
Kuizi 13 - Web

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade