(chrome) issue saving my own sketch

I have tried to copy/paste, as well as type code by hand. What happens is a code will appear for a second and then delete itself with a popup message that says error while saving. I am new to this and have never created my own code so the issuer could most likely be easily resolved. Please give me advice!!!