Any action of the mayor and council having regulatory or penal effect or required to be done by ordinance under this Act, shall be done only by ordinance. Each resolution and ordinance shall be in written form before being introduced. The affirmative vote of at least a majority of those present shall be required to pass any resolution or ordinance. After adoption of ordinances, the city clerk shall number ordinances consecutively, in the order of their final adoption, and shall place a copy into a permanent record book used solely for this purpose; and the city clerk shall do likewise for resolutions, using a separate series of numbers and a separate record book. The original copies of all ordinances, resolutions, and motions shall be filed and preserved by the city clerk.