There are 3 important things while learning programming that I have discussed in this video. First one is the mind set. Make sure that you give some to programming. It will not come as magic. It will take some time. Also make sure that you practice everyday.
Second, is to make sure that you connect with teacher. Also spend some money in buying online courses or books, if you can afford. You can also go for free learning option but that consumes time.
Third, is to make sure that you work for portfolio. Create projects in programming language that you are learning and upload them online. GIthub or Bitbucket are great options but you can upload them on your personal sites too

fb: https://www.facebook.com/HiteshChoudharyPage
homepage: http://www.hiteshChoudhary.com