Grade 12- Knowledge Booster- JavaScript Events

Grade 12- Knowledge Booster- JavaScript Events

12th Grade

10 Qs

quiz-placeholder

Similar activities

Advanced JS Part 1

Advanced JS Part 1

12th Grade

10 Qs

Variables & Data Types

Variables & Data Types

6th - 12th Grade

10 Qs

Comparing Python, Java, and JavaScript

Comparing Python, Java, and JavaScript

9th Grade - University

15 Qs

Javascript

Javascript

KG - University

10 Qs

JavaScript Variables

JavaScript Variables

3rd Grade - University

13 Qs

JavaScript Programming

JavaScript Programming

9th - 12th Grade

12 Qs

JavaScript Quiz 1

JavaScript Quiz 1

9th - 12th Grade

10 Qs

JavaScript Intro

JavaScript Intro

9th - 12th Grade

12 Qs

Grade 12- Knowledge Booster- JavaScript Events

Grade 12- Knowledge Booster- JavaScript Events

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Bloomington Innovation

Used 5+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?