I had a lot of trouble with the Code Academy lessons. They took me an incredibly long time to complete so I just started looking things up, and watching youtube tutorials.