Acts of the mayor and city council which have the force and effect of law shall be enacted by ordinance.