gas cap light on and car wont start whats wrong on 2001 Ford Escort

went inside a store came out car wont start or turn over the gas cap light and check engine light came on what could be wrong?

Asked by for the 2001 Ford Escort
The gas cap light is for an evaporative emissions issue. It probably does not have to do with the car not starting.

The engine light will always be on when the vehicle is not started.

Does the engine crank at all?