(1)The Municipality shall, so far as is practicable during the construction or repair of any public street or any municipal drain or any premises vested in the Municipality, -(a)Cause the same to be fenced and guarded;(b)Take proper precautions against accident by shoring up and protecting the adjoining buildings; and(c)Cause such bars, chains, or posts to be fixed across or in any street in which any such work of construction or repair is under execution, as are necessary in order to prevent the passage of vehicle or animals and avert danger.