Khan Academy
Practice: Using While Loops
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!
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.
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.
Code.org
Minecraft Hour of Code
Devote an hour to computer coding ... it's time well spent! The activity has young computer scientists write code to solve puzzles in the Minecraft game. They learn how to apply block codes and repeat loops.
PBS
Pbs Learning Media: Tynker Hour of Code Puzzle: Dragon Dash
Students solve complex coding puzzles by applying computer programming concepts and enhance STEM learning outcomes as they play a fun coding adventure game. Learn skills such as patterning, sequencing, nested loops, conditionals, plus...