Any way to avoid the local host site dropping out?

This is driving me crazy. I am in the CSS portion of the tutorials and every other lesson the browser to check my work stops functioning. It was that way in HTML too. I can’t check my work and I can’t always get it fixed even when I close out the broswer and start again.

Is there any solution to this, or something I can do to better combat it?