Grade 12- Knowledge Booster- JavaScript Events

Grade 12- Knowledge Booster- JavaScript Events

12th Grade

10 Qs

quiz-placeholder

Similar activities

Women in Tech by Sisters of Code

Women in Tech by Sisters of Code

9th - 12th Grade

10 Qs

Implication of Text in Media and Information literacy

Implication of Text in Media and Information literacy

12th Grade

10 Qs

Perangkat Lunak ( Software )

Perangkat Lunak ( Software )

10th - 12th Grade

10 Qs

JavaScript 3 baco med

JavaScript 3 baco med

12th Grade

10 Qs

Android1

Android1

1st Grade - University

10 Qs

Python -Variables

Python -Variables

12th Grade

10 Qs

Tin học 11 - KTtx số 2 - HK I

Tin học 11 - KTtx số 2 - HK I

11th Grade - University

10 Qs

Evaluasi Informatika | Internet dan Jarkom

Evaluasi Informatika | Internet dan Jarkom

9th - 12th Grade

15 Qs

Grade 12- Knowledge Booster- JavaScript Events

Grade 12- Knowledge Booster- JavaScript Events

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Bloomington Innovation

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a JavaScript event?

a) A special type of function

b) An action that can be detected by JavaScript

c) A reserved keyword in JavaScript

d) A method for declaring variables

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which event occurs when a user clicks on an HTML element?

onmouseover

onclick

onchange

onload

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

3. Which event is triggered when the webpage is fully loaded?

onchange

onload

onclick

onsubmit

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the onmouseover event in JavaScript?

a) To trigger when a user clicks on an element

b) To trigger when the user presses a key

c) To trigger when the mouse pointer moves over an element

d) To trigger when the webpage is refreshed

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which event is fired when a user changes the value of an input field in a form?

a) onchange

b) onclick

c) onload

d) onblur

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

6. Which event is used to detect when a form is submitted?

a) oninput

b) onfocus

c) onsubmit

d) onreset

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the difference between the onfocus and onblur events in JavaScript?

a) onfocus occurs when an element loses focus, onblur occurs when it gains focus

b) onfocus occurs when an element gains focus, onblur occurs when it loses focus

c) Both are the same

d) Neither of these exist in JavaScript

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?