
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
Word Processing Lesson 1
Quiz
•
5th - 9th Grade
16 questions
Photoshop tools
Quiz
•
6th Grade - Professio...
15 questions
Code.org Unit 2 - Web Development
Quiz
•
6th - 8th Grade
20 questions
Microsoft Publisher/Graphic Design Extra Credit Review
Quiz
•
6th - 8th Grade
16 questions
Keyboard Shortcuts
Quiz
•
6th - 12th Grade
20 questions
ULANGAN 1 BASIS DATA KELAS XII RPL
Quiz
•
1st - 10th Grade
18 questions
Word Tables and Tabs
Quiz
•
4th - 11th Grade
21 questions
Technology Skills
Quiz
•
5th - 8th 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