JavaScript JavaScript Loops, Arrays and Objects Simplify Repetitive Tasks with Loops Create a while Loop

Steve holcomb
Steve holcomb
1,931 Points

I can not figure this while loop out

Is there a way to just skip this step? I've tried to get help with it already and I cant get it figured out but it always wants to take me back to this challenge when I hit "continue".

var count = 0;

1 Answer

Hey steve

Try this

var count = 0;

while(count < 26) {
  count += 1;

Happy coding


So...while the count variable is less than 26, add 1 to the count variable and write it to the document :)