Explore what CodeHS has to offer for districts, schools, and teachers.
Click on one of our programs below to get started coding in the sandbox!
View All
A variable used to count the number of times an action has been performed. For example, to count how many times a loop has executed, we can use a counter variable like `i`: for(var i = 0; i < 10; i++) {