Planning a major renovation or just making small improvements around the house? Understanding building codes is crucial.