fisher123.com JavaScript Loops

While Loop

The number of times the loop will repeat is defined by the use (Can you say Interactivity?)

click here to begin

TRY IT!

You will use the while loop to generate a random number with a length that is defined by the user

  1. Write an HTML document with a prompt that asls the user to how long the number should be
  2. Take the number the user enters and create a random number that long
  3. HINT You have to create each number indiviually

check it out here