
Kuizi 13 - Web

Quiz
•
Computers
•
10th Grade
•
Easy
Shkodran Hasani
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to select an element by its ID?
document.getElementsByClassName
document.querySelector
document.selectById
document.getElementById
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method adds a new element to the end of a parent element?
pushElement
appendChild
addChild
insertElement
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you remove an element from the DOM?
Use element.delete() to remove an element.
Call removeElement(element) method.
Set element.style.display to 'none' to hide it.
Use element.remove() or parentNode.removeChild(element).
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the addEventListener method?
To remove an event handler from an element.
To attach an event handler to an element.
To create a new HTML element.
To change the style of an element.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to access the first child of a node?
firstChild
parentNode
lastChild
nextSibling
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method would you use to change the text content of an element?
Use the 'setAttribute' method on the element.
Use the 'innerHTML' property of the element.
Change the 'style' property of the element.
Use the 'textContent' property of the element.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you prevent the default action of an event?
Use event.stopPropagation() in the event handler.
Set the event's return value to false.
Use event.preventDefault() in the event handler.
Call the function directly without any parameters.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Mastering HTML and CSS Concepts

Quiz
•
University
10 questions
Word basics

Quiz
•
8th - 12th Grade
10 questions
The Div and Span Tag

Quiz
•
10th Grade
18 questions
Javascript & DOM model

Quiz
•
University
20 questions
Evaluación Parcial Laboratorio 4to. BACO

Quiz
•
10th Grade
20 questions
Intro to JavaScript in HTML quiz

Quiz
•
9th - 12th Grade
10 questions
JavaScript #4: DOM

Quiz
•
12th Grade
17 questions
InDesign Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade