top of page

Baby's First For Loop

See the sketch here

I kept running into an error that "i was already declared," which I realized meant that semicolons, NOT commas are required in the for loop!

Anatomy of counting:

- counting by 1

- direction, increasing

- when do you stop?

- starting point

- rate of change

Anatomy of a for loop:

- Starting point

- Stopping point,

- Amount of change

100 columns in a gradient

3 views0 comments

Recent Posts

See All
bottom of page