Викторина по DOM и JavaScript

Викторина по DOM и JavaScript

11th Grade

14 Qs

quiz-placeholder

Similar activities

Email Writing Best Practices Assessment

Email Writing Best Practices Assessment

8th Grade - University

10 Qs

Pengenalan Fitur Canva

Pengenalan Fitur Canva

9th - 12th Grade

10 Qs

Lesson 5: Using and Manipulating Data

Lesson 5: Using and Manipulating Data

9th - 12th Grade

15 Qs

01 PostTest Informatika XI

01 PostTest Informatika XI

11th Grade

15 Qs

Pemrograman Web dan Perangkat Bergerak

Pemrograman Web dan Perangkat Bergerak

11th Grade

10 Qs

ICT G7 Chapter 2.2 Direct Data Entry Devices

ICT G7 Chapter 2.2 Direct Data Entry Devices

7th Grade - University

15 Qs

Quiz on Inheritance in Object-Oriented Modeling

Quiz on Inheritance in Object-Oriented Modeling

11th Grade

9 Qs

Keyboard Shortcuts

Keyboard Shortcuts

5th Grade - University

11 Qs

Викторина по DOM и JavaScript

Викторина по DOM и JavaScript

Assessment

Quiz

Information Technology (IT)

11th Grade

Medium

Created by

Aygerym Batykova

Used 5+ times

FREE Resource

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() {};

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?