Code written while taking Codecademy's JavaScript course.