2002 hyundai accent sedan gl engine cranks for 1-2 seconds, but doesn't start.
Sounds like your battery needs to be charged or a new one.
check the fuel pump relay in front of car in fuse box under engine hood, the fuel pump relay may have a bad connection pull fuel pump relay bend pins a little to make relay tighter in socket, relay gets hot well driving and weakens the socket making bad connection to relay. has happen to me it sound the same that happen to me.
or bad battery
Looking for a Used Accent in your area?
CarGurus has 13,010 nationwide Accent listings starting at $2,295.
Search Hyundai Accent Questions
Hyundai Accent Experts