The best way to learn to code is to write code. The best way to write code is with some direction or a goal -- a.k.a a project. So, if you want to learn to code, decide on some project (an app, site, plugin, etc.) and start building it. This little gist is a guide to getting you from knowing nothing, to getting a project done. Once you've got a project done... you can probably code. If not, do it again :D
This specifically is going to guide on full stack Javascript -- React and Node -- on Mac. There are 10 different ways to do everything, I'm going to guide you to what I personally think is best and ignore everything else. At the end, once you know how to code you can check out other things.
This guide is clearlly not all inclusive. There is a lot you will have to figure out for yourself. In a sea of yellow brick roads where your not sure where to start and in what direction to go this