Lesson 2 (MIDTERM) Flashcards

(16 cards)

1
Q

are actions or occurrences that happen in the web browser.

A

Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Clicking a button, typing on the keyboard, moving the mouse, etc.

A

User Actions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Page loading or unloading, resizing the browser window, etc.

A

Browser Actions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

These are events triggered by the JavaScript code itself, such as simulating a click.

A

Programmatic Triggers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the event types

A

Mouse Events
Keyboard Events
Click Events
Change Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

These events occur when the user interacts with the mouse or a pointing device.

A

Mouse Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Triggered when the user clicks an element.

A

click

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Triggered when the user double-clicks.

A

dblclick

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Triggered when the mouse pointer moves over an element.

A

mouseover

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Triggered when the mouse pointer leaves an element.

A

mouseout

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

These occur when the user interacts with the keyboard.

A

Keyboard Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Fired when the user presses a key (except for special keys like Shift or Ctrl).

A

keypress

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Fired when any key is pressed down.

A

keydown

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Fired when the user releases a key.

A

keyup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

These are specific to clicks and are part of mouse events. They are triggered when a user clicks on an element (such as a button or link).

A

Click Events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

These are triggered when the value of an input, select, or textarea element changes. It helps in detecting when the user changes the value in a form element.

A

Change Events