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.
As a self-taught programmer, you might also benefit from books that offer broader advice on the profession. You’ll improve your thinking and habits, traits you can apply to any language you decide to learn. Steve McConnell’s 900-page Code Complete: A Practical Handbook of Software Construction (2nd Edition) is considered the definitive guide for best practices, with data-backed advice on everything from project design to debugging code.
Take a few minutes (or a day) to think about the reasons—the real reasons—why you want to learn a programming language. Be honest with yourself. Are you trying to learn the barest minimum to score a promotion? Are you looking to make a big career change? Do you want to create the next greatest app? Thrill your roommates by programming your various smart devices to do something awesome? 

You need to be patient with yourself; don’t expect to code the next Fortnite after just a few months of study or a few bootcamps. Coding an error-free wedding RSVP form on a website, or making a simple-yet-correct number prediction game, is already a significant achievement for a beginner. If you get stuck, don’t give up. You should absolutely look for help everywhere you can find it, but also know when to take a break to avoid burnout. And then try, try again.
With your index fingers you can feel a bump on the keys 'F' and 'J'. When you type you must get back to these two keys as soon as a key has been pressed on the keyboard so that you know all the time where you are on the keyboard. If you don't find the keys 'F' and 'J' again you will get lost and make a lot of mistakes. For the same reasons the first lessons are done without ever moving your fingers from these two keys.
This free online typing tutor was designed to help you learn to type as fast and easy as possible. Try a few lessons a day and you'll start to notice your fingers naturally move to the right keys. Even if it seems at times that you are making no improvement, keep on working at it and you will learn to type without looking! Remember to take breaks often though - its good for the body and for the learning!
If you want to go pro and become a full-time developer, an intensive and in-person coding bootcamp might help you out, particularly if you learn best in a structured environment with real people to motivate you. However, these types of bootcamps are often the most expensive and time-intensive to attend: You’re looking at upwards of $15,000 for just the tuition, plus living expenses for a few months until you graduate.
Learning is joyful with Khan Academy Kids! Our award-winning app includes thousands of educational activities, books, songs, and games for toddlers, preschoolers, kindergarteners, and first graders. A cast of adorable characters guide children through lessons, and our adaptive learning path customizes their experience to help them master different skills.
The programming community is full of people who are willing to help the next generation of programmers. GitHub, the online hangout for developers who use Git to manage their coding projects, is designed for online collaboration. Not only do developers host and share their projects with their peers, they also provide code feedback and general advice to the community.
Created in 2006 by educator Salman Khan, Khan Academy is one of the original free online-learning institutions. With step-by-step video tutorials, you can  learn how to program drawings, animations and games using JavaScript and ProcessingJS, or learn how to create webpages with HTML and CSS. See, especially, Khan's "Hour of Code," designed to introduce students to one hour of computer science and computer programming.
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.
×