
JavaScript8
Quiz
•
Computers
•
6th Grade
•
Hard
Анна Зерда
Used 35+ times
FREE Resource
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>
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
HTML and CSS
Quiz
•
6th - 8th Grade
15 questions
S3 Databases Knowledge Check
Quiz
•
2nd - 9th Grade
17 questions
BSD-QuizMaker-JavaScript Quiz
Quiz
•
6th - 8th Grade
20 questions
STEAM CAT
Quiz
•
6th Grade
20 questions
CSS Basics
Quiz
•
6th - 8th Grade
21 questions
CSS Review
Quiz
•
KG - 12th Grade
20 questions
HTML / CSS
Quiz
•
5th - 7th Grade
15 questions
CS Discoveries Code.org Unit 2, Lesson 5-7 Review
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria
Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns
Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines
Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
11 questions
All about me
Quiz
•
Professional Development
20 questions
Lab Safety and Equipment
Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix
Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
8 questions
Time Management
Quiz
•
6th Grade
18 questions
Company Logos
Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)
Quiz
•
6th - 8th Grade
16 questions
Clovis Unified Student Use of Technology
Quiz
•
4th - 8th Grade
13 questions
Digital Citizenship
Quiz
•
6th Grade
11 questions
Technology Acceptable Use
Quiz
•
6th - 8th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade
