Please enable JavaScript to use CodeHS

CodeHS Glossary


Forever Loop General

A forever loop repeats its blocks over and over until the program stops. Robots use forever loops to keep checking their sensors, so they can react whenever something changes.