Helping build dams developing building codes is a way to help homeowners to protect their building from flood plain.
Floodplain refer to an area of land that is adjacent or opposite to a river which stretches from the banks of its channel to the bottom of an enclosed valley walls, and which experiences flooding during periods of high discharge.
Therefore, helping build dams developing building codes is a way to help homeowners to protect their building from flood plain because it will act as a collector of water and barrier that will prevent flood.
Learn more about flood plain here.
https://brainly.com/question/1000851