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
To flip a boolean value, or take the opposite of a boolean value. If you negate true, you get false. If you negate false, you get true.