Collect the logs and avoid the rocks. Move right with right arrow. Move left with left arrow.
I made it by making the Beaver and a lot of coding. It took me about four weeks. IF IT GOES TO FAST JUST PRESS THE GREEN FLAG AGAIN