Start coding if it interests you, and then keep learning what you find fascinating and interesting, and then go from there. Don't learn something because you should learn it. Learn it because your curiousity can't help you but keep going at it even though it might cause a good amount of confusion.
The confusion can be a bit overwhelming at times when you don't really understand what you are doing, and when you can't understand why the computer does what it does. However, if you keep going at it, the reward is big when issues are being resolved.
It's gonna be somewhat tempting to punch your computer and throw it out the window. But don't do it. Drink a cup of coffe and take ten deep breaths and start figuring out what's causing the problem. Having great mentors help a lot.