Classify the following elements as metals, metalloids, or nonmetals.

chlorine
Potassium
Sulfur
Phosphorus
Geranium
cobalt
nickel