Also, something that I've found is that if you go wrong somewhere instead of mindlessly searching for the error (assuming there are multiple or you don't know the error's location) just start from the beginning and go down seeing that if this works. If you see a break and something disconnects, in all probability that's where the error is. It's all logic. 

 Khan Academy allows you to learn almost anything for free.  Our Xbox app is the best way to view Khan Academy’s complete library of over 5,000 videos.  We cover a massive number of topics, including K-12 math, science topics such as biology, chemistry, and physics, and even the humanities with playlists on art history, civics, and finance.   Spend an afternoon brushing up on statistics. Discover how the Krebs cycle works. Learn about the fundamentals of computer science. Prepare for the upcoming SAT. Or, if you’re feeling particularly adventurous, learn how fire stick farming changed the landscape of Australia.  Included in our Xbox app:  - Watch all of our 5,000+ videos  - Track your progress: Log in with your Khan Academy user account to get credit for watching videos, and see your achievements  It doesn't matter if you are a student, teacher, home-schooler, principal, adult returning to the classroom after 20 years, or a friendly alien just trying to get a leg up in earthly biology; Khan Academy's materials and resources are available to you completely free of charge. 

Coding is all in the details, which is why you need to “celebrate small victories,” as one of our programming professors put it. It takes practice to make each element work on its own, as well as constant testing to ensure each line of code will work with all the rest—without errors. If you don’t do seemingly minor things right like closing a HTML tag, you’d be stuck debugging a simple syntax error rather than writing more impressive and complex code.
EdX is another leading online-learning platform that is open source instead of for-profit. It was founded by Harvard University and MIT in 2012, so you know that you’ll learn about cutting-edge technologies and theories. Today, edX includes 53 schools. You probably can’t go wrong with the free Introduction to Computer Science from Harvard University.
×