Can't get simple electromagnet to work
The wire is insulated with a thin layer of enamel.  You have to remove it before you can get current to flow through your coil.  Use fine sandpaper to clean the ends of the wire, or use a lighter flame to burn the enamel off.