Use the arrow keys to move. Try to reach the yellow, for you will move on to the next level when you do. It's pretty short.
This was my attempt at a platformer, so it's kinda bad, but I tried my best. Also, if you look at the code, it is way more work than I needed to do. Enjoy!