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
Called once when the program starts and is used to define the initial environment properties such as screen size and load any media (images, fonts, audio). There can only be one `setup()` function for each program.