No, you do not have to remove the battery. Just remove the 2 bolts (1/2 socket) on the top and pull out the whole assembly. Then undo the big plastic nut and remove bulb and redo steps to install.
What is it you need to know about your headlight
where the headlight's adjustments screws for a 1997 Pontiac Sunfire are located
the drl relay is in the fuse box
In order to wire the starter on a Pontiac Sunfire, you will need a jack, jack stand, socket set, and a torque wrench. You will need to make sure to remove the battery cables from the battery.
In the area in front of the right front wheel below the headlight.
bad ground
beside the drivers seat...on the floor
You have a bad alternator.
The ground for the headlight on a Pontiac Sunfire is typically located near the headlight assembly. You can find it connected to the vehicle's chassis or body near the mounting point of the headlight. It's usually a black wire that connects to a grounding point on the frame or fender. For specific locations, consulting the vehicle's service manual or wiring diagram can provide detailed information.
make sure you fill up your headlight fluid after you change the bulb
You have to unplug the ground from your battery for 1 or 2 minutes.
On a 98 Pontiac Sunfire, the red color of wire goes on the terminal marked "B" on the starter. This terminal is located close to the battery of the vehicle.