NaOH, is not an element, but a compund. Meaning it's chemically bonded. Na is sodium, O is oxygen and H is hydrogen.
Sodium is a metal, Oxygen is a non-metal and hydrogen is also not a metal.
Meaning that this is an Ionic compound. Hope this helps.