
Викторина по DOM и JavaScript
Authored by Aygerym Batykova
Information Technology (IT)
11th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Что такое DOM?
Программный интерфейс для работы с CSS
Программный интерфейс для работы с HTML и XML-документами
Программный интерфейс для работы с изображениями
Программный интерфейс для работы с базами данных
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как можно получить элемент по ID в JavaScript?
document.getElementsByTagName()
document.getElementsByClassName()
document.querySelector()
document.getElementById()
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как изменить текст элемента в JavaScript?
element.textContent = 'Новый текст';
element.innerHTML = 'Новый текст';
element.setAttribute('text', 'Новый текст');
element.style.text = 'Новый текст';
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как удалить атрибут у элемента?
element.remove('href');
element.setAttribute('href', null);
element.deleteAttribute('href');
element.removeAttribute('href');
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как добавить обработчик события на элемент?
element.onclick = function() {}
element.addEventListener('click', function() {});
element.onClick = function() {}
element.attachEvent('click', function() {});
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как изменить цвет текста элемента?
element.style.color = 'blue';
element.style.textColor = 'blue';
element.color = 'blue';
element.setStyle('color', 'blue');
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Как отслеживать изменения в поле ввода?
document.querySelector('input').addEventListener('change', function() {});
document.querySelector('input').addEventListener('input', function() {});
document.querySelector('input').oninput = function() {};
document.querySelector('input').onchange = function() {};
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
Комбинаторы CSS
Quiz
•
11th Grade
10 questions
Основы ИИ и машинного обучения
Quiz
•
11th Grade
10 questions
Untitled Quiz
Quiz
•
8th Grade - University
15 questions
Microsoft Word Processing Skills Assessment
Quiz
•
10th Grade - University
14 questions
Introduction to Databases Quiz
Quiz
•
10th Grade - University
15 questions
Intro to Word Processing
Quiz
•
9th Grade - University
10 questions
Database
Quiz
•
11th Grade
15 questions
Управление на виртуалната и реалната памет
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
16 questions
ACT English - Grammar Practice #2
Quiz
•
11th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade