Electromagnets are very useful tools. They have the ability to gain a magnetic field with the introduction of current and to lose it once the current ceases. We will be building a very simple one that works with these principles. It is also a very cheap project, I had everything needed to make it lying around my house.
I added a better video, it isn't great, but it is an improvement.
Step 1: Gather Materials
For this project we will need:
One large nail
Around 5 feet of 16 gauge wire.
One D cell battery
Some electrical tape (optional)
All of this can be bought at a hardware store for under $4.