Khan Academy
Challenge: H for Hopper
An "H" is just three rectangles when you are trying to draw them on a computer screen. After watching the previous Intro to Drawing video this online programing activity guides young coders to draw the letter "H" on the screen. Help and...
Khan Academy
Challenge: SmileyFace
Two smiley faces are better than one. The interactive lesson challenges pupils to use methods to alter a program to make it more efficient. Individuals use the new code to create multiple smiley faces that speak. The engaging activity is...
Khan Academy
Challenge: Moles in Holes
Move the moles to the holes in this simple coding exercise on using parameters in function calls. The task is broken down for you and the function that draws the mole is already provided. Your job is to add JavaScript code to call the...
Beauty and Joy of Computing
Sprite Drawing and Interaction
Discover how to program objects to move on a screen. In the second lab of a five-part unit, each learner uses block instructions to program a sprite to follow their mouse (cursor). They investigate how to use these same block...
Beauty and Joy of Computing
Building Grids for Games
You can't play Tic Tac Toe without grids. In the fourth lab of a five-part unit, scholars learn how to build grids for games such as Tic Tac Toe. Along the way, they also learn about reporter blocks that perform calculations.
Khan Academy
Project: Make it Rain
Make it rain on your computer screen with this challenging JavaScript programming project. Modify the existing code of one little drop to create a downpour by using arrays and properties of arrays. But why stop there? How about some...
Khan Academy
Challenge: Flower Grower
How does the garden grow? With inherited functions! The interactive activity has individuals alter a program to utilize object inheritance. Scholars develop an object type that two other objects use to inherit similar aspects. The...
Khan Academy
Challenge: Exploding Sun
Animating an object by moving it across a computer screen can be accomplished by drawing the object repetitively, each time adjusting some aspect of the drawing slightly. This activity is an easy introduction to animation in JavaScript,...
Khan Academy
Challenge: A Loopy Landscape
Drawing trees and grass over and over again is the perfect time to add a while loop to your computer code. This activity guides coders through the steps as they practice using this loop.
Khan Academy
Challenge: Picture Painter
Your young coding students will love the result of this programming activity and will be amazed at what they can make the computer do. Using objects and their properties, they will create a paint brush that will redraw an object across...
Khan Academy
Challenge: Double Rainbow
Draw a rainbow over the rainbow. The second segment in a series of six has the class practice using functions to edit a program that draws a rainbow. After creating the function, the interactive lesson challenges pupils to create another...
Khan Academy
Project: Ad Design
Let your young programmers' creativity and programming knowledge shine with this culminating activity. Coders put together everything they know about using text commands, drawing, and animation to create a unique ad. This activity could...
Khan Academy
Challenge: Bucktooth Bunny
Practice creating and using variables by creating variables for the bunny's eyes and teeth in this JavaScript task. Use the slider above the number to see the power of using variables in your code.
Khan Academy
Project: What's for Dinner?
This creative project may make your young programmers hungry as they practice their Java Script coding. The task is fairly open ended: add shapes using different shape functions, including the fill and stroke functions to add color and...
Khan Academy
Challenge: Mouse Tracker
Create a small but useful little program that allows you move a dot with your mouse and see the coordinates change as the mouse moves. Starting with a dot that moves with the mouse, add to this program the text of the points...
Khan Academy
Challenge: Say Your Name
Practice creating and using functions in a simple JavaScript coding exercise. Move code inside the function definition and then add lines to call the simple function. Adding function parameters and return values are covered later in this...
Khan Academy
Challenge: Number Analyzer
The JavaScript program you create will answer a simple question about a number. Is it positive, negative, or zero? Create a Boolean expression and use conditional if statements to test the value and then print the...
Khan Academy
Challenge: Bouncy Ball
Create your own bouncing ball program with this guided activity. Java Script code that sends a ball down the screen is provided. The task is to fix the code to make it bounce up when it hits the bottom of the screen and then down again...
Khan Academy
Challenge: Calculator
Calculators aren't all that useful if they don't return the correct results. In this JavaScript programming exercise, beginning JavaScript coders are guided to fix the results returned by the functions so they return correct values....
Khan Academy
Challenge: Your First Painting App
Ever wonder how those neat painting applications work? Completing this coding activity will give you some insight. First, starting with a simple function that draws a small circle as the mouse moves around the screen, adjust the function...
Khan Academy
Challenge: Smarter Button
Now, challenge your knowledge of Boolean operators even further with this JavaScript program to create a button that changes color after being pressed. This activity is the second in a series and would made a good follow up to the first...
Khan Academy
Challenge: Your First Button
Practice using conditional if statements, Boolean expressions, and Boolean operators by programming a user-selected button. This activity guides by using a small program that needs some modifications to work correctly.
Khan Academy
Project: Magic 8-Ball
Your student programmers will enjoy creating their own Magic 8-ball in this JavaScript activity. This a great opportunity to practice using if and else statements based on randomly generated numbers. What will you ask the 8-ball?
Khan Academy
Challenge: Favorite Animals
I'm not scared of lions & tigers & bears; in fact, they are on my favorites list! Have your young coders practice creating arrays and using loops. First they define the array as a list of favorite animals, then print them out...