Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Javascript Tutorial - 13 - For Loop

Loading...

Sign in or sign up now!
42,673
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 14, 2008

visit www.thenewboston.com for all my tutorials!

  • likes, 7 dislikes

Link to this comment:

Share to:

Top Comments

  • I LOVE THIS MAN

  • @1646Alex you would use i+=2 or i=i+2 (doesn't need to be a 2 ofcourse), instead of just i++

see all

All Comments (84)

Sign In or Sign Up now to post a comment!
  • I like how b1kmusic thinks he's so advanced because he can print something 150 times.

  • a more advanced example:

    function hello(x){

    for(i=0;i!=x;i++){

    document.write("hello ")

    }

    }

    hello(150)

    //prints "hello" 150 times

  • @djhiphop23 well what i have done is tha i save all the scripts that ive used in the tutorials then i you the little command // to make a comment then i write a little description about what the script does then if i need to fresh up variables i just open the script and read what ive writed :)

  • set mine also super!!!!!!!!

  • Does anyone know where I can find a site that has like puzzles, or fill in the blanks for javascript, you know sort of like homework because its hard for me to just memorize stuff, I would like to be given a task you know? So it sticks with me.

  • Thanks a lot!

  • @123artega can't get much easier than this...

  • @ thenewboston

    I love your tuts, but.....

    These: () are parentheces.

    These: " are quotation marks.

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more