It is the duty of the owner of every dwelling, building, structure, or property within the county to construct and maintain such dwelling, building, structure, or property in conformance with applicable codes in force within the county, or such ordinances which regulate and prohibit activities on property and which declare it to be a public nuisance to construct or maintain any dwelling, building, structure, or property in violation of such codes or ordinances.