Pretty much everything you need to know to build a residential structure in California (regarding energy code) is in the next three links. Check them out!

Energy Code Ace

2016 Building Energy Efficiency Standards

2016 CalGreen Mandatory Measures