Basketball

Objective: Create a webpage where a basketball bounces around the screen.

Problem: A basketball bouncing around in a fixed position does not look right. The basketball also has to stay w/in boundaries.

Solution: Create javascript so that the ball stays in boundaries and rotate. Add shadow to make the ball look realistic. Add buttons to increase the speed of the ball and a button to change the color of the ball to make it more interesting.

Copyright © Andrew Nguyen 2019