Homework for JavaScript Apps course