Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
John Doe3,606 Points
How was the variable (or constant) defined in the for statement? What was the use of "card" in this situation?
I would like to fully understand the use of the variable (or constant) "card" and why it was defined as such. Also, the previous lesson on the for loop, the format was completely different, this example did not have an increment stage.
Any explanation guys?