
DOM JS
Authored by Vladimir Bogatyrenko
Computers
11th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Найти на странице div с id container и записать в переменную
let container = document.querySelector('#container')
let container = querySelector('#container')
Оба варианта верны
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Элемент записан в переменную element. Установить элементу красный цвет текста
element.color = red
element.color = 'red'
element.style.color = 'red'
element.color: red
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
const element = document.querySelector('.hello');
Как заменить текст в полученном элементе?
element.text = 'Это новый текст'
element.Content = 'Это новый текст'
element.textContent = 'Это новый текст'
element = 'Это новый текст'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой метод добавит узел element в конец container
container.appendChild(element)
container.append(element)
оба ответа верны
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Какой метод добавит обработчик клика по кнопке?
myButton.addEventListener('click', function handler() {
console.log('клик по кнопке');
})
myButton.removeEventListener('click', handler)
event.preventDefault()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Зачем нужен метод event.preventDefault()
Добавляет обработчик события
Удаляет обработчик события
Отменяет действие по умолчанию
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
let input = document.querySelector('input');
Как получить значение текстового поля input?
input.checked
input.text
input.Content
input.value
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
KS4 - Representing Images
Quiz
•
9th - 11th Grade
10 questions
2025
Quiz
•
11th Grade
10 questions
ทดสอบพื้นฐานการใช้งานคอมพิวเตอร์
Quiz
•
9th - 12th Grade
10 questions
Asesmen Diagnostik Sistem Komputer
Quiz
•
10th Grade - University
13 questions
Podsumowanie: binarny, komputer, sieć
Quiz
•
7th Grade - University
10 questions
8525 AQA GCSE CS 3.7.1 Introduction to Relational Data
Quiz
•
11th Grade
15 questions
python basics
Quiz
•
11th Grade - University
11 questions
1.5 System Software
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade