To play this game you have to hit space to jump over the basketballs.
I did this all by myself but CodaKid is the website I use to learn how to code.