Team 1
0
Team 2
0
Teams
Name
Score
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Loading
×
banana
Go to last place!
Oops!
×
seesaw
Swap points!
Okay!
×
rocket
Go to first place!
Okay!
×
banana
Go to last place!
Oops!
5
×
True or False: when defining a function, a name is always required
False
Oops!
Check
Okay!
Check
10
×
In the names array, "Jimothy" is at which index?
2
Oops!
Check
Okay!
Check
×
thief
Give points!
5
10
15
20
25
×
shark
Other team loses 25 points!
Okay!
×
fairy
Take points!
5
10
15
20
25
×
banana
Go to last place!
Oops!
5
×
Which HTML element can add a picture to a webpage?
<img>
Oops!
Check
Okay!
Check
15
×
What will be alerted when this code runs?
5
Oops!
Check
Okay!
Check
15
×
Which JavaScript function can hookup an event listener to an HTML element?
addEventListener
Oops!
Check
Okay!
Check
5
×
Which keyword is used to create variables?
let
Oops!
Check
Okay!
Check
25
×
Write code to filter this array so that it only includes family members who are less than 18 years old.
family.filter(m => m.age < 18)
Oops!
Check
Okay!
Check
10
×
Convert this function into an arrow function
() => 5
Oops!
Check
Okay!
Check
5
×
True or False: In JavaScript, functions can be stored in variables
True
Oops!
Check
Okay!
Check
×
heart
Other team wins 25 points!
Oops!
×
magnet
Take 20 points!
Okay!
×
fairy
Take points!
5
10
15
20
25
×
banana
Go to last place!
Oops!
10
×
The part of a function within curly brackets is called...
the body
Oops!
Check
Okay!
Check
10
×
What will be alerted when this code runs?
Timmy is an average kid
Oops!
Check
Okay!
Check
5
×
How many statements go between the parentheses in a for loop?
3
Oops!
Check
Okay!
Check
×
banana
Go to last place!
Oops!
×
seesaw
Swap points!
Okay!
×
shark
Other team loses 10 points!
Okay!
×
thief
Give points!
5
10
15
20
25
×
Restart
Review
Join for Free
;
Your experience on this site will be improved by allowing cookies.
Allow cookies