Web Development Basics

Web Development Basics

12th Grade

25 Qs

quiz-placeholder

Similar activities

Camp 1_30

Camp 1_30

12th Grade

22 Qs

uCertify JavaScript Chapter 9 and 10

uCertify JavaScript Chapter 9 and 10

9th - 12th Grade

21 Qs

PHP TEST 2

PHP TEST 2

1st Grade - Professional Development

20 Qs

Програмиране в интернет чрез JavaScript

Програмиране в интернет чрез JavaScript

12th Grade

20 Qs

Repaso Examen Teórico de JavaScript

Repaso Examen Teórico de JavaScript

12th Grade

20 Qs

L73_118 Prep for Test

L73_118 Prep for Test

12th Grade - University

20 Qs

Preguntas sobre JavaScript

Preguntas sobre JavaScript

9th Grade - University

20 Qs

js DOM

js DOM

12th Grade - Professional Development

20 Qs

Web Development Basics

Web Development Basics

Assessment

Quiz

Computers

12th Grade

Medium

Created by

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

element in HTML?

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?