Reunification visa query

Hi I am holding a reunification visa and I'm married to a Belgian national livin in Spain. I got my visa from Spain embassy.
My husband and I are planning to move to Denmark to find a better job opportunity there.
I haven't applied for my residence card. My question is can I apply for my residence card in Denmark?

No you have to apply for your visa from your current country of residence in your case Spain. With a Spanish visa you will only be allowed to visit Denmark for 3 months but not register and live/take up employment.