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

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: 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: 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: 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: Ad Design

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

Project: Public Transportation

For Students 6th - Higher Ed
Have your charges race their car creations across the screen in a JavaScript activity. Coders start with a small program that shows one wheel moving across the screen. Use this as a good place to start and challenge your young...
Interactive
Khan Academy

Bonus Project: Custom Clothing

For Teachers 6th - Higher Ed
Clothing design, do you know any teenagers that are interested in that? How about mixing what they have learned about JavaScript programing and the creativity of designing a piece of clothing? This activity does just that. Practice the...
Interactive
Khan Academy

Project: Design an Animal

For Students 6th - Higher Ed
Combine creativity and coding in an activity where you are free to create your own animal. Try for something recognizable or not, the design is up to your unique students. The challenge is to use variables and variable expressions so...
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

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: 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: It's a Beautiful Day

For Students 6th - Higher Ed
Young coders build on their programming skills by adding color to their pictures. The background, fill, and noStroke functions are explored in the JavaScript coding activity.
Interactive
Khan Academy

Welcome to the Computer Science Platform

For Students 6th - Higher Ed
You don't need to know how to code in order to teach your students! Show them learning is a lifelong skill by learning along with them. Take this activity for example; the code is on the left, and the result is on the right. Can you...
Interactive
Khan Academy

Challenge: Ice Cream Code

For Students 6th - Higher Ed
Practice adding color to your simple JavaScript picture. Three layers of ice cream in a bowl with a cherry on top, gives your beginning coders a tasty challenge. 
Interactive
Khan Academy

Challenge: Simple Shapes!

For Students 6th - Higher Ed
Now practice drawing a rectangle, ellipse, circle, and line by writing your own JavaScript code. Don't know where to start? No problem, you will be guided through creating every line of code. Getting an error message? Again, no problem,...
Lesson Plan
Code.org

Event-Driven Programming and Debugging

For Teachers 9th - 12th
Start programming in event-driven style. Scholars learn to place buttons on the user interface and use event handlers. They also learn to recognize errors in code and debug as necessary. This is the second lesson in the series of 21.
Interactive
Khan Academy

Challenge: H for Hopper

For Students 6th - Higher Ed
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...
Lesson Plan
Code.org

Using Simple Commands

For Teachers 9th - 12th
Turtles might be slow, but class will zoom by when your pupils build a program in which reptiles draw a grid. Using App Lab and JavaScript, class members build a program to find the most efficient way to draw an image of a...
Lesson Plan
Code.org

Understanding Program Flow and Logic

For Teachers 9th - 12th
Explore decision-making logic in programming computer games. The 10th installment of a 21-part unit teaches scholars how to apply conditional statements and Boolean expressions. They use these concepts to create a "Guess My Number" game...
Interactive
CK-12 Foundation

Linear Programming: Bakers' Dilemma

For Students 9th - 12th Standards
Place the pies in a line. Pupils create a graph of a system of linear inequalities to represent the number of pies a bakery can make. Learners analyze the vertices on the graph to determine the number of pies they can bake without...
Lesson Plan
Code.org

Creating Functions

For Teachers 9th - 12th
Quit repeating yourself ... you can make this simpler! Rather than repeating the same set of code over and over, class members learn to build and call functions in a series of challenges in App Lab. In the end, they combine...