I tried to make an electromagnet at home but when I connect the two copper wires to a 1.5V battery it keeps short circuiting and heating up. Also it doesn't attract other nails. - eviltoast

This is my electromagnet.