+
Interactive
Khan Academy

Project: Make it Rain

For Students 6th - Higher Ed
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...
+
Interactive
Khan Academy

Project: Build-a-House

For Students 6th - Higher Ed
Start with a basic house created in JavaScript code and practice programming with loops as you add rows of windows, grass, flowers, or trees. How about some apples growing in the trees? You get the idea. Your coding students can let...
+
Interactive
Khan Academy

Challenge: Double Rainbow

For Students 6th - Higher Ed
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...
+
Interactive
Khan Academy

Project: Bookshelf

For Students 6th - Higher Ed
Start your own virtual library with this JavaScript programming project. Create arrays of book objects, and fill the shelves with different books, different colors, titles, authors, etc. Let coders create their own unique display. 
+
Interactive
Khan Academy

Challenge: Movie Reviews

For Students 6th - Higher Ed
Create an array of objects in a JavaScript coding practice activity. Movie titles and reviews for multiple movies are collected in an array of objects and then printed out with a looping construct. 
+
Interactive
Khan Academy

Challenge: Picture Painter

For Students 6th - Higher Ed
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...
+
Interactive
Khan Academy

Challenge: Constellation Maker

For Students 6th - Higher Ed
Populate your own universe with constellations and stars. Modify the existing JavaScript code to use the push method of arrays, and mouseX and mouseY to draw a star based on the click and position of the mouse. 
+
Interactive
Khan Academy

Challenge: Recipe Card

For Students 6th - Higher Ed
Anyone hungry? Create a recipe object in this coding activity. Include a title, number of servings, and ingredients. All of this adds up to one delicious practice opportunity for your programming students who are just learning how to use...
+
Interactive
Khan Academy

Challenge: Favorite Animals

For Students 6th - Higher Ed
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...
+
Interactive
Khan Academy

Challenge: A Loopy Landscape

For Students 6th - Higher Ed
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. 
+
Interactive
Khan Academy

Challenge: Lined Paper

For Students 6th - Higher Ed
Now create your own graph paper with this JavaScript programming activity! First, change the while loop that draws horizontal lines into a for loop. Then, add another for loop that draws the vertical lines. For an added challenge,...
+
Interactive
Khan Academy

Challenge: Favorite Fruits

For Students 6th - Higher Ed
Creating a list of favorite fruits is the perfect use of an array in coding. Practice defining and using arrays in this simple activity of creating an array and printing out each element in the array.  
+
Interactive
Khan Academy

Challenge: A Loopy Ruler

For Students 6th - Higher Ed
Now try writing your first while loop! This activity guides you through creating a small JavaScript program that marks the top of the screen with a ruler. Use the while loop to write the numbers across the screen.
+
Interactive
Khan Academy

Practice: Using While Loops

For Students 6th - Higher Ed
Test your knowledge of loops with this short online quiz about using the while statement in JavaScript code. Get five questions correct in a row and you're done!
+
Interactive
Khan Academy

Challenge: Flashy Flash Card

For Students 6th - Higher Ed
Create your own flash card in this JavaScript coding activity. Modify the given code so that the answer is revealed when the mouse is pressed. Provides good practice of conditional if-else statements.
+
Interactive
Khan Academy

Project: Magic 8-Ball

For Students 6th - Higher Ed
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? 
+
Interactive
Khan Academy

Challenge: Smarter Button

For Students 6th - Higher Ed
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...
+
Interactive
Khan Academy

Challenge: Your First Button

For Students 6th - Higher Ed
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. 
+
Interactive
Khan Academy

Challenge: Your First Painting App

For Students 6th - Higher Ed
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...
+
Interactive
Khan Academy

Challenge: Moles in Holes

For Students 6th - Higher Ed
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...
+
Interactive
Khan Academy

Challenge: Calculator

For Students 6th - Higher Ed
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....
+
Interactive
Khan Academy

Challenge: Bouncy Ball

For Students 6th - Higher Ed
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...
+
Interactive
Khan Academy

Challenge: Number Analyzer

For Students 6th - Higher Ed
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 results. 
+
Interactive
Khan Academy

Challenge: Say Your Name

For Students 6th - Higher Ed
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...