Key things: You need to have discipline to keep studying, create projects, and play with code. Yet also have some downtime (e.g. play games, go for a walk, etc). Don't waste time worrying about if you will make it, or stressing about if you're good enough, IMO days are too short to allocate time to fears.
If you get stuck, Google stuff. 30% of being a professional developer is research anyway, so you should get good at finding stuff.
Also, you need to actually enjoy it, if you're going in for just the money, it will be a long hard road. Just like if you hated chess and forced yourself to play it 8 hours a day.