If the 2004 Elantra is the same as the 2003, then it's a somewhat difficult and slightly confusing process.
Under the hood, the headlights are covered on the inside by a plastic cap. This cap is accessible on the right side fairly easily, but on the left side it requires removal of a plastic cover and probably the battery.
Twist this cap off, and you'll see the headlight, the plug, and a clip that holds it in place. Press down on part of the clip and wiggle it around, and it should come unhooked. Then you can move it out of place. The bulb is plugged into its plug still, and it would probably be easier to unplug the bulb before unclipping it. Either way, make sure you don't get the clip and the plug cord tangled, because it's difficult to get them untangled.
The bulb plugs and unplugs from the plug fairly easily, and it would seem that it could be plugged in either way and work right.
The car was not designed well, since doing this job is difficult, frustrating, and takes longer than it should -- longer than it does on most other cars.
how do you change valve cover gasket 2004 hyundai elantra
The 2004 Hyundai Elantra has 16 valves.
The 2004 Hyundai Elantra is a gas-powered vehicle.
The 2004 Hyundai Elantra has a 5-speed manual.
The 2004 Hyundai Elantra has an inline 4 engine.
The 2004 Hyundai Elantra is 14 ft. 9.1 in. (177.1 in.) long.
The 2004 Hyundai Elantra's turning circle is 32.5 ft..
The height of the 2004 Hyundai Elantra is 4 ft. 8.1 in. (56.1 in.).
The 2004 Hyundai Elantra runs on regular unleaded.
The curb weight of the 2004 Hyundai Elantra is 2635 lbs..
The 2004 Hyundai Elantra has double overhead cam (DOHC).
The 2004 Hyundai Elantra has 55.6 in. of rear hip room.