
Web Development Basics
Quiz
•
Computers
•
12th Grade
•
Medium
Shatabdi Ghadei
Used 2+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What is the purpose of the
It is used as a generic container to group and style content on a webpage.
It is used to embed videos in HTML.
It is used to define a table in HTML.
It is used for creating hyperlinks in HTML.
2.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
How can you select all elements with a class name of 'example' in CSS?
#example
example
.example
.example{}
3.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
What is the syntax for declaring a function in JavaScript?
functionName(parameters) { // function body }
function functionName(parameters) { // function body }
functionName(parameters) { // code here }
functionName(parameters) { // logic here }
4.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
How can you create a flex container in CSS?
justify-content: space-between;
flex-direction: row;
align-items: center;
display: flex;
5.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
Which event occurs when the user clicks on an HTML element in JavaScript?
Open a new browser tab
Change the element's color to red
Remove the element from the DOM
Add an event listener for the 'click' event
6.
MULTIPLE CHOICE QUESTION
10 sec • 2 pts
How do you declare an array in JavaScript?
let arr[ ]
const arr[ ]
let arr=new Array( )
const array
7.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is event propagation in JavaScript?
Event propagation in JavaScript only occurs during the capturing phase.
Event propagation in JavaScript refers to the mechanism by which events are handled and passed through the DOM tree. There are two phases: capturing phase and bubbling phase.
Event propagation in JavaScript is not related to how events are handled in the DOM.
Event propagation in JavaScript refers to the mechanism by which events are triggered in the DOM tree.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
L73_118 Prep for Test
Quiz
•
12th Grade - University
22 questions
Camp 1_30
Quiz
•
12th Grade
21 questions
Java vs JavaScript Operators
Quiz
•
3rd - 12th Grade
22 questions
Basic Boolean Logic Practice
Quiz
•
9th - 12th Grade
21 questions
IT Specialist: HTML & CSS Certification Exam Review
Quiz
•
12th Grade
20 questions
Complete Java script
Quiz
•
12th Grade
23 questions
HTML Practice 3 of 4
Quiz
•
11th - 12th Grade
25 questions
UH Bab 2
Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines
Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22
Lesson
•
9th - 12th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
20 questions
US Constitution Quiz
Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
