Is salt an element compound homogenous mixture or heterogenous mixture?

Sodium chloride (table salt) is a compound - NaCl.