The mayor and city council of a city of the first class may construct and repair, or cause and compel the construction and repair, of sidewalks in such city of such material and in such manner as they may deem necessary.

Source