The provisions of the International Residential Code for One- and Two-Family Dwellings, as amended, shall apply to the construction, alteration, repair, equipment, use and occupancy, location and maintenance of every one- or two-family dwelling and any appurtenances connected or attached to such buildings or structures.