Please enable JavaScript to use CodeHS

NV 6-8: 6-8.AP.M.2

CodeHS Lessons

Create procedures with parameters to organize code and make it easier to reuse.

Standard
9.1 Functions Challenges
10.1 Timers
10.2 Stopping Timers
10.3 Collisions
10.4 Mouse Click Events
10.5 More Mouse Events
10.6 Key Events
12.1 Breakout
19.3 Animation Practice
19.4 Crazy Ball Game
Standard
9.2 Functions and Parameters
9.4 Functions and Return Values
9.6 Functions Quiz
25.14 Parameters
Standard
9.14 Functions and Parameters 1
9.15 Functions and Parameters 2
9.16 Functions and Return Values 1
9.17 Functions and Return Values 2
Standard
8.1 Functions Challenges
9.1 Timers
9.2 Stopping Timers
9.3 Collisions
9.4 Mouse Click Events
9.5 More Mouse Events
9.6 Key Events
11.1 Breakout
26.2 Animation Practice
26.3 Crazy Ball Game
Standard
9.1 Functions Challenges
10.1 Timers
10.2 Stopping Timers
10.3 Collisions
10.4 Mouse Click Events
10.5 More Mouse Events
10.6 Key Events
12.1 Breakout
24.3 Animation Practice
24.4 Crazy Ball Game
Standard
9.1 Functions Challenges
11.1 Timers
11.2 Stopping Timers
11.3 Collisions
11.4 Mouse Click Events
11.5 More Mouse Events
11.6 Key Events
13.1 Breakout
17.3 Animation Practice
17.4 Crazy Ball Game
Standard
3.4 Under the Sea
5.4 Multiple Functions
Standard
4.4 Under the Sea
Standard
1.4 Multiple Functions
Standard
5.6 Parameters
22.2 Under the Sea
Standard
5.6 Parameters
Standard
3.13 Parameters
Standard
6.13 Parameters
Standard
13.13 Parameters
Standard
7.15 Functions and Parameters
7.17 Functions and Return Values
Standard
1.13 Parameters
6.2 Functions and Parameters
6.4 Functions and Return Values
6.6 Functions Quiz
7.4 Functions
Standard
8.1 Functions and Parameters 1
8.2 Functions and Parameters 2
8.3 Functions and Parameters 3
8.4 Functions and Return Values 1
8.5 Functions and Return Values 2
9.1 Functions Challenges
10.4 Functions
11.1 Timers
11.2 Random Circles
11.3 Random Ghosts
11.4 Bouncing Ball
11.5 Mouse Events: Mouse Clicked
11.6 Mouse Events: Mouse Moved
11.7 Drawing Lines
11.8 Key Events
11.9 Crazy Ball Game
13.1 Breakout
Standard
4.3 Parameters
7.5 Functions
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.13 Parameters
14.5 Functions
Standard
3.2 Methods and Parameters
3.3 Methods and Return Values
Standard
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
7.4 Functions and Return Values 1
7.5 Functions and Return Values 2
8.1 Functions Challenges
9.1 Timers
9.2 Random Circles
9.3 Random Ghosts
9.4 Bouncing Ball
9.5 Mouse Events: Mouse Clicked
9.6 Mouse Events: Mouse Moved
9.7 Drawing Lines
9.8 Key Events
9.9 Crazy Ball Game
11.1 Breakout
Standard
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
7.4 Functions and Return Values 1
7.5 Functions and Return Values 2
8.1 Functions Challenges
9.1 Timers
9.2 Random Circles
9.3 Random Ghosts
9.4 Bouncing Ball
9.5 Mouse Events: Mouse Clicked
9.6 Mouse Events: Mouse Moved
9.7 Drawing Lines
9.8 Key Events
9.9 Crazy Ball Game
11.1 Breakout
Standard
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
7.4 Functions and Return Values 1
7.5 Functions and Return Values 2
9.1 Functions Challenges
9.1 Functions Challenges
Standard
4.3 Parameters
Standard
2.13 Parameters
6.2 Functions and Parameters
6.4 Functions and Return Values
6.6 Functions Quiz
Standard
6.10 Functions and Parameters 1
6.11 Functions and Parameters 2
6.12 Functions and Return Values 1
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
10.1 Functions and Parameters 1
10.2 Functions and Parameters 2
10.3 Functions and Parameters 3
10.4 Functions and Return Values 1
10.5 Functions and Return Values 2
10.7 Timers
10.8 Random Circles
10.9 Random Ghosts
10.10 Bouncing Ball
10.11 Mouse Events: Mouse Clicked
18.1 Mouse Events: Mouse Moved
18.2 Drawing Lines
18.3 Key Events
18.4 Crazy Ball Game
Standard
2.14 Parameters
8.2 Functions and Parameters
8.4 Functions and Return Values
8.6 Functions Quiz
Standard
10.1 Functions and Parameters 1
10.2 Functions and Parameters 2
10.3 Functions and Parameters 3
10.4 Functions and Return Values 1
10.5 Functions and Return Values 2
10.6 Timers
10.7 Random Circles
10.8 Random Ghosts
10.9 Bouncing Ball
10.10 Mouse Events: Mouse Clicked
16.1 Mouse Events: Mouse Moved
16.2 Drawing Lines
16.3 Key Events
16.4 Crazy Ball Game
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.13 Parameters
14.5 Functions
Standard
11.1 Functions and Parameters 1
11.2 Functions and Parameters 2
11.3 Functions and Parameters 3
11.4 Functions and Return Values 1
11.5 Functions and Return Values 2
11.6 Timers
11.7 Random Circles
11.8 Random Ghosts
11.9 Bouncing Ball
11.10 Mouse Events: Mouse Clicked
17.1 Mouse Events: Mouse Moved
17.2 Drawing Lines
17.3 Key Events
17.4 Crazy Ball Game
Standard
17.1 Functions and Parameters 1
17.2 Functions and Parameters 2
17.3 Functions and Parameters 3
17.4 Functions and Return Values 1
17.5 Functions and Return Values 2
17.6 Timers
17.7 Random Circles
17.8 Random Ghosts
17.9 Bouncing Ball
17.10 Mouse Events: Mouse Clicked
16.1 Mouse Events: Mouse Moved
16.2 Drawing Lines
16.3 Key Events
16.4 Crazy Ball Game
Standard
6.2 Functions and Parameters
6.4 Functions and Return Values
6.6 Functions Quiz
18.13 Parameters
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.13 Parameters
9.5 Functions
Standard
6.1 Timers
6.2 Stopping Timers
6.3 Collisions
6.4 Mouse Click Events
6.5 More Mouse Events
6.6 Key Events
25.1 Functions Challenges
27.1 Breakout
21.3 Animation Practice
21.4 Crazy Ball Game
Standard
1.4 Under the Sea
Standard
1.4 Multiple Functions
Standard
12.1 Functions and Parameters 1
12.2 Functions and Parameters 2
12.3 Functions and Parameters 3
12.4 Functions and Return Values 1
12.5 Functions and Return Values 2
13.1 Functions Challenges
21.1 Timers
21.2 Random Circles
21.3 Random Ghosts
21.4 Bouncing Ball
21.5 Mouse Events: Mouse Clicked
21.6 Mouse Events: Mouse Moved
21.7 Drawing Lines
21.8 Key Events
21.9 Crazy Ball Game
23.1 Breakout
Standard
12.1 Functions and Parameters 1
12.2 Functions and Parameters 2
12.3 Functions and Parameters 3
12.4 Functions and Return Values 1
12.5 Functions and Return Values 2
13.1 Functions Challenges
21.1 Timers
21.2 Random Circles
21.3 Random Ghosts
21.4 Bouncing Ball
21.5 Mouse Events: Mouse Clicked
21.6 Mouse Events: Mouse Moved
21.7 Drawing Lines
21.8 Key Events
21.9 Crazy Ball Game
23.1 Breakout
Standard
1.5 Timers
1.6 Stopping Timers
1.7 Collisions
1.8 Mouse Click Events
1.9 More Mouse Events
1.10 Key Events
5.2 Functions and Parameters
5.4 Functions and Return Values
5.5 Functions Quiz
Standard
8.1 Functions and Parameters 1
8.2 Functions and Parameters 2
8.3 Functions and Parameters 3
8.4 Functions and Return Values 1
8.5 Functions and Return Values 2
9.1 Functions Challenges
10.1 Timers
10.2 Random Circles
10.3 Random Ghosts
10.4 Bouncing Ball
10.5 Mouse Events: Mouse Clicked
10.6 Mouse Events: Mouse Moved
10.7 Drawing Lines
10.8 Key Events
10.9 Crazy Ball Game
12.1 Breakout
Standard
1.13 Parameters
14.5 Functions
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.13 Parameters
14.5 Functions
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.13 Parameters
14.5 Functions
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.13 Parameters
14.5 Functions
Standard
1.13 Parameters
6.5 Functions
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.13 Parameters
14.5 Functions
Standard
13.1 Timers
13.2 Stopping Timers
13.3 Collisions
13.4 Mouse Click Events
13.5 More Mouse Events
13.6 Key Events
15.1 Breakout
18.3 Animation Practice
18.4 Crazy Ball Game
Standard
2.4 Multiple Functions
Standard
12.1 Functions Challenges
Standard
8.1 Timers
8.2 Stopping Timers
8.3 Collisions
8.4 Mouse Click Events
8.5 More Mouse Events
8.6 Key Events
21.1 Functions Challenges
23.1 Breakout
17.3 Animation Practice
17.4 Crazy Ball Game
Standard
1.14 Parameters
Standard
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
7.4 Functions and Return Values 1
7.5 Functions and Return Values 2
8.1 Timers
8.2 Random Circles
8.3 Random Ghosts
8.4 Bouncing Ball
8.5 Mouse Events: Mouse Clicked
16.1 Mouse Events: Mouse Moved
16.2 Drawing Lines
16.3 Key Events
16.4 Crazy Ball Game
Standard
1.13 Parameters
14.5 Functions
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.13 Parameters
14.5 Functions
Standard
8.2 Functions and Parameters
8.4 Functions and Return Values
8.7 Functions Quiz
16.14 Parameters
Standard
8.2 Functions and Parameters
8.4 Functions and Return Values
8.7 Functions Quiz
16.14 Parameters
Standard
23.5 Functions and Return Values 2
19.4 Crazy Ball Game
19.3 Key Events
19.2 Drawing Lines
19.1 Mouse Events: Mouse Moved
15.10 Mouse Events: Mouse Clicked
15.9 Bouncing Ball
15.8 Random Ghosts
15.7 Random Circles
15.6 Timers
23.1 Functions and Parameters 1
23.5 Functions and Return Values 2
23.4 Functions and Return Values 1
23.4 Functions and Return Values 1
23.3 Functions and Parameters 3
23.3 Functions and Parameters 3
23.2 Functions and Parameters 2
23.2 Functions and Parameters 2
23.1 Functions and Parameters 1
Standard
13.14 Functions and Parameters 1
13.15 Functions and Parameters 2
13.16 Functions and Return Values 1
13.17 Functions and Return Values 2
Standard
14.14 Functions and Parameters 1
14.15 Functions and Parameters 2
14.16 Functions and Return Values 1
14.17 Functions and Return Values 2
Standard
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
7.4 Functions and Return Values 1
7.5 Functions and Return Values 2
7.6 Timers
7.7 Random Circles
7.8 Random Ghosts
7.9 Bouncing Ball
7.10 Mouse Events: Mouse Clicked
Standard
11.1 Timers
11.2 Stopping Timers
11.3 Collisions
11.4 Mouse Click Events
11.5 More Mouse Events
11.6 Key Events
12.1 Breakout
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game
Standard
1.13 Parameters
14.5 Functions
Standard
1.4 Multiple Functions
Standard
1.4 Multiple Functions
7.3 Functions
Standard
1.2 Functions and Parameters
1.4 Functions and Return Values
1.6 Functions Quiz
Standard
5.6 Parameters
Standard
9.2 Functions and Parameters
9.4 Functions and Return Values
9.6 Functions Quiz
Standard
11.14 Parameters
Standard
1.2 Functions and Parameters
1.4 Functions and Return Values
1.6 Functions Quiz
Standard
8.14 Functions and Parameters 1
8.15 Functions and Parameters 2
8.16 Functions and Return Values 1
8.17 Functions and Return Values 2
Standard
12.14 Functions and Parameters 1
12.15 Functions and Parameters 2
12.16 Functions and Return Values 1
12.17 Functions and Return Values 2
Standard
1.4 Multiple Functions
Standard
1.13 Parameters
14.5 Functions
Standard
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
9.4 Functions and Return Values 1
9.5 Functions and Return Values 2
9.6 Timers
9.7 Random Circles
9.8 Random Ghosts
9.9 Bouncing Ball
9.10 Mouse Events: Mouse Clicked
15.1 Mouse Events: Mouse Moved
15.2 Drawing Lines
15.3 Key Events
15.4 Crazy Ball Game