The best description of how to build an electromagnet is:
Attach a wire to one end of a battery, wrap the wire around an iron or steel core, and attach the other end of the wire to the other end of the battery.
This option correctly outlines the steps necessary to create an electromagnet by ensuring that the wire is wrapped around the core and that the electrical circuit is completed.