Event Handlers -- Writing Code That Listens · Lesson 12
Variables and Global State, a lesson in Build Your First App on SkillSaber.