The building code is the set of laws and regulations that apply to different properties in a given area. The code is typically decided by local and state legislators. It is also updated on a yearly basis in many places. People who build homes must ensure that their properties fall within the rules set forth in this code. This might mean ensuring the structural sufficiency of the foundation. It might also mean keeping with the rules that define how large a building can be. In some places, the building code will mandate which building materials can be used in certain types of properties. Home buyers will want to understand the building code and what it entails. Homes that do not comply with the building code can be dangerous for buyers and their guests. Certain legal liability also exists for those people who buy and sell homes that do not comply with these regulations.