Computing Science WDD (JavaScript) Flashcards

1
Q

What tag indicates that between these tags there is JavaScript Code?

A

Script Tags

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

What is an example of a function?

A

mouseOver()

mouseOut()

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

What is missing?

document.getElementById(“”).style.color = “blue”;

A

The Id |
\/
document.getElementById(“”).style.color = “blue”;

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

What is a string?

A

A string is any series of characters.

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

What is an array?

A

Is a variable that can hold more than one value at a time.

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

What happens when mouseOut() function is triggered?

A

When ever you move your mouse away from the image, text or element it will do a certain function.

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

What property is used to control colour?

A

.style.color

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

What is the tag for a variable?

A

var

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

What is Boolean?

A

A 1 or 0 question, True or False.

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

What does is this condition?

==

A

Equal To.

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