
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
APCSA Arrays

Quiz
•
9th - 12th Grade
20 questions
js_edu_wrap_up

Quiz
•
1st Grade - Professio...
20 questions
Javascript Basic

Quiz
•
9th - 12th Grade
25 questions
JavaScript Certification Quiz

Quiz
•
12th Grade
29 questions
JavaScript

Quiz
•
9th - 12th Grade
20 questions
JavaScript Basics CodeHS

Quiz
•
7th - 12th Grade
20 questions
Java Arrays

Quiz
•
9th - 12th Grade
20 questions
Javascript Basics Test

Quiz
•
7th - 12th 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