
DOM JS
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Vladimir Bogatyrenko
Used 6+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
11 questions
Історія графічної культури. Дизайн та його тенденції
Quiz
•
1st - 11th Grade
10 questions
Bài 5. THIẾT KẾ TRUY VẤN
Quiz
•
11th Grade
14 questions
2. Systems and Control
Quiz
•
11th Grade
10 questions
Sistem Komputer
Quiz
•
10th - 11th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
10 questions
Algorithm
Quiz
•
10th - 12th Grade
10 questions
Jenis-jenis Kabel Jaringan Komputer
Quiz
•
11th Grade
8 questions
Overview of IT
Quiz
•
6th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University
