The objective of this of the project is to become familiar with svg.
The problem was getting the buttons to work and have the increase button actually increase
It was all in the numbers all along. In the animate function I put 100, because I believed it was an ok numbe; when I refreshed the page the ball was moving, but when pressing the button it crashed so I made the number 100 since I knew that a bug number was the cause of it crashing.