What happens to the magnetic field of an electromagnet if you increase the current in the wire ?
The magnetic field of an electromagnet is due to the magnetic field produced due to solenoid and the core of the electromagnet.
Since the magnetic field of solenoid is given by B=μ0nI,
the magnetic field increases when current in the wire of electromagnet increases.