Grade 12- Knowledge Booster- JavaScript Events

Grade 12- Knowledge Booster- JavaScript Events

12th Grade

10 Qs

quiz-placeholder

Similar activities

Adobe Animate - Escape room

Adobe Animate - Escape room

11th - 12th Grade

14 Qs

Javascript & Client side scripting

Javascript & Client side scripting

10th - 12th Grade

10 Qs

Soal BAB V PemWeb

Soal BAB V PemWeb

12th Grade

10 Qs

PW - Corte 2

PW - Corte 2

12th Grade

15 Qs

Bundlers

Bundlers

12th Grade

10 Qs

History of Computers

History of Computers

6th - 12th Grade

15 Qs

Pseudocode and Flowcharts - Computer Science

Pseudocode and Flowcharts - Computer Science

KG - 12th Grade

15 Qs

Bài 7: HTML và cấu trúc trang web

Bài 7: HTML và cấu trúc trang web

12th Grade

10 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

Already have an account?