Miscellaneous Flashcards

1
Q

parseInt()

A

Takes a value and tries to convert it to an integer

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

isNaN()

A

Returns true if something is not a number

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

setTim­eout()

A

Specify that am action should occur on a particular schedule

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

Math.floor

A

Rounds a number down

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

Math.r­andom

A

Generates a random number between 0 and 1

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

getEle­men­tsB­yTa­gName()

A

Provides a collection of all child elements with the specified tag name

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

getEle­men­tById()

A

Selects an individual element within a document using a specific ID

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

getEle­men­tsB­yCl­ass­Name()

A

Allows you to select all elements with a given class attribute

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

elemen­t.i­nne­rHTML

A

Returns all the HTML between the opening and closing tags

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

elemen­t.n­odeType

A

Property, returns the number of the node type

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

elemen­t.c­hil­dNodes

A

A node list of child nodes that are indexed numeri­cally, and appear in source order

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

elemen­t.c­hil­dNo­des.length

A

Returns the number of child nodes of the element

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