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: 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: 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: 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: 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: 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. 
Activity
Beauty and Joy of Computing

Building Your Own Blocks

For Teachers 8th - 12th
Isn't building with blocks an activity for toddlers? The third lab of a five-part unit teaches young computer scientists how to create their own block instructions for programming. They use these blocks to create geometric figures, spell...
Interactive
Google

Mary Poppins Returns

For Students 6th - 12th
Make Mary Poppins proud. Young computer scientists use block-based coding to create snowflake animations with a Mary Poppins theme. They learn how to apply sequences, actions, and loops in computer science.
Activity
Beauty and Joy of Computing

Sprite Drawing and Interaction

For Students 8th - 12th
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...
Activity
Beauty and Joy of Computing

Building an App

For Students 8th - 12th
Create your own app with the first lab of a five-part unit. Future computer scientists learn the basics of programming a game application. They use a given software program to design an app where users try to click on a moving...
Activity
Beauty and Joy of Computing

Building Grids for Games

For Students 8th - 12th
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.
Activity
TeachEngineering

Teach Engineering: Using Waits, Loops and Switches

For Teachers 4th - 8th
Students incorporate their knowledge of wait blocks, loops, and switches into their programming of the LEGO MINDSTORMS NXT robots to perform different tasks depending on input from a sound sensor and two touch sensors. This activity...