Week 5 Review Flashcards

Review week 5 readings

1
Q

Events

A

used to make a web page interactive

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

3 Key events are

A

keypress, keydown, and keyup

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

2-page events are

A

load and beforeunload

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

An event propagates

A

up the tree

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

the method called to prevent and events default behavior

A

preventDefault()

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

Lets users input data through a web page

A

form

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

two types of text zones for input

A

input type=”text” or

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

checkboxes, radio buttons and dropdowns generate

A

change events

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

Dom element that lets you access the input fields on forms

A

elements

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

Submitting a form triggers

A

a submit event

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

modification of a text field triggers

A

an input event

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

a regular expression is used to

A

validate form data

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

a function that kicks off a repeated action

A

setInterval()

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

a function that stops a repeated action

A

clearInterval()

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

a function that executes and action once after a delay

A

setTimeout()

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

Web follows a __________/__________ paradigm

A

request/response

17
Q

HTTP

A

HyperText Transfer Protocol

18
Q

2 Main HTTP methods

A

GET/POST

19
Q

Two main HTTP response status codes

A

200 for success and 404 for a response not found

20
Q

URL

A

Uniform resource locator

21
Q

AJAX

A

Asynchronous JavaScript and XML

22
Q

asynchronous

A

not happening on the same thread

23
Q

CORS

A

cross-origin resource sharing