Interactive

Challenge: A Loopy Ruler

Curated and Reviewed by Lesson Planet
This Challenge: A Loopy Ruler interactive also includes:

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.

5 Views 2 Downloads
Pros
  • Helps students understand how looping structures work and gives them hands-on experience 
Cons
  • None