wont start on 2005 Chevrolet Cobalt

In the morning the car would not even turn over. I took the battery and had it tested. Now it turns over but will not start. I thought it was a security code thing. Did what I was told to do, but it still will not start.

any ideas?

Asked by for the 2005 Chevrolet Cobalt