Answer:
By wrapping wire around the nail and attaching battery to the wire ends
Step-by-step explanation:
We can use a pair of wire cutter to remove a few centimeters of insulation from each end of the wire that is used. Then neatly wrapping the wire around the nail. The more wire we wrap around the nail, the stronger our electromagnet will be. After that attaching the battery to the ends of the wire will turn the coil into an electromagnet.