Do I have any rightss against code enforcement from city ordinances?

Never mind ordinances, codes, and laws, I could never understand the logic of wanting to live in what amounts to be a junk yard like that.