I am including a link in this, but we've been looking into building code stuff since we're getting close to time to do all of this, and electrical came up. It's over $100 to purchase a copy of the most recent electrical codes. I did find a website with free access, but you're basically going to be reading a PDF in a web browser. I'm fine with that as the price is right.
For FREE access to 2017 electrical code, click on the image below. I signed up, and now I just go and look stuff up. I don't want to have to pay for a bunch of failed inspections so I fully intend to do this correctly the first time.