Moving Basketball

Objective : Using JavaScript and SVG, code a basketball that hits the corners of a frame, move when clicked with the cursor, and changes colors with buttons.

The Problem : Some people want to play sports without feeling exhausted.

The Solution : The moving basketball is an online game where one can play basketball without the physical effort and have just as much fun.

© Hira Asad 2019