
JavaScript8
Authored by Анна Зерда
Computers
6th Grade
Used 39+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Виберіть варіанти які дозволять отримати html елемент за його id.
document.getElementById(‘idName’)
document.getElementById(‘#idName’)
document.querySelector(‘#idName’)
document.querySelector(‘idName’)
document.querySelect(‘#idName’)
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Виберіть варіанти які дозволять отримати всі абзаци на сторінці, якщо відомо, що всі вони мають клас 'mainText'.
document.getElementsByClassName(‘.mainText’)
document.getElementsByClassName(‘mainText’)
document.getElementsByTagName(‘p’)
document.getElementByTagName(‘p’)
document.querySelect(‘.mainText’)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Виберіть варіант, які додадуть зображення до блоку div, якщо let div = document.querySelector(‘div’)
div.innerHTML('<img src = 'image.png'>')
div.innerHTML = '<img src = 'image.png'>'
div.textContent = '<img src = 'image.png'>'
div.innerHTML(<img src = 'image.png'>)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Який із варіантів додасть елементсписку на початок списку, якщо
let li = document.createElement('li')
li.innerHTML = ‘Новий елемент’
let ol = document.querySelector(‘#idList’)
ol.append(li)
ol.prepend(li)
ol.before(li)
ol.after(li)
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Які варіанти знайдуть перший елемент списку, якщо список має id gamesList
document.querySelector('#gamesList li')
document.querySelectorAll('#gamesList li')
document.querySelector('li')
document.getElementById(‘#games’)
document.querySelector('ol li')
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Який із варіантів дозволить змінти URL для посилання let link = document.querySelector('#searchLink')
link.setAttribute('google.com')
link.setAttribute('href', 'google.com')
link.getAttribute('google.com')
link.removeAttribute('google.com')
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Запшіть код, який потрібно записати замість "?", щоб зберегти до imgSource назву зображення, яке відображає тег <img>
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
20 questions
power point six
Quiz
•
5th - 9th Grade
20 questions
Enhancing a presentation
Quiz
•
6th Grade
20 questions
Computing Systems Vocabulary Quiz
Quiz
•
6th - 7th Grade
20 questions
Berpikir Komputasional
Quiz
•
1st - 10th Grade
18 questions
Design Process
Quiz
•
6th - 7th Grade
20 questions
Database Essentials L1 Review
Quiz
•
6th - 8th Grade
15 questions
Basic Microsoft Word
Quiz
•
1st Grade - Professio...
20 questions
General ICT Questions (Part 1)
Quiz
•
5th - 12th Grade
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