Ajax-loader-large-white
FizzBuzz
Laziness++

Awesome! Great work learning the basics of for loops. Let's get our hands dirty and practice. Before we get started, let's try something that will save you keystrokes.

  1. You can use any variable name for our counter variable. It's extremely common to see i used as a counter variable because it is so short!

  2. Instead of writing:

    i = i + 1

you can just write:

`i++`

This will still increment i by 1 and is much shorter!

Instructions

Check out how much shorter the loop is now with these changes!

script.js