Battery light coming on and battery dying after I changed the starter. on 2003 Pontiac Sunfire

Charged the battery no change. Changed the alternator and battery light still on. Any ideas? There was no light on prior to changing the starter.

Asked by for the 2003 Pontiac Sunfire
Was the battery disconnected while you were changing the starter?........wadluitqlc4ctxzho