tracks

Codecademy

Sign in Sign up
Ajax-loader-large-white
36/42
The Original "Getting Started with Programming"
+1

You can increase a number variable's (i) value by one with an incrementor , i++.

Instructions

After the variable i is declared, call i++ twice to get i equal to 2. This should involve two separate lines with i++; on them. Try it out now.

?
Stuck? Get a hint! Hint

Here you can have two separate lines of iteration. Each should contain just i++.

script.js
Back to Editor

Sign in