Please enable JavaScript to use CodeHS

Box of Chocolates

This JavaScript Graphics project has students walk through the creation of a box of chocolates, step by step. Students will make use of functions with parameters, loops, if statements, and mouse events.

Hard

4 Hours

High School

Project Description

Project Demo

Explore this program before assigning it!

Project Overview

Here is an outline of the project activities:
Valentine's Day
Setting Up Your Box
Add Your Chocolates
Add a Lid