Khan Academy
Project: Build-a-House
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...
Khan Academy
Challenge: Lined Paper
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,...
Khan Academy
Challenge: A Loopy Ruler
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.
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: 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...
Khan Academy
Challenge: Movie Reviews
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.
Beauty and Joy of Computing
Building Your Own Blocks
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...
Google
Mary Poppins Returns
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.
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 an App
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...
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.
TeachEngineering
Teach Engineering: Using Waits, Loops and Switches
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...