It has 12 sides.
12
8 sides. octagon is referring to the number eight.
There are 10 sides to a dodecagon and there are 12 sides on a dodecahedron.
A dodecagon has 12 sides.