Driving down road, died however had battery and electrical seems ok. pulled off, on 1999 Honda Civic

tried to restart and wouldnt. changed fuel filter, seems to be getting fuel, check fuel at the fuel rail it came out with gas. So what is my next steps

Asked by for the 1999 Honda Civic
Is the Check Engine light on?
I would check for spark at the spark plug cables when no start condition.
1 more answer
The reason the car stalls is because there is a component in the ignition that is shorting out. Happened to me. Go to You can get it fixed free at the dealership. Good luck! Great car once I finally got that fixed. It was scary shutting off while in the middle lane of the interstate during rush hour!