Can you create a save feature?

I'm working on making a cool game for cool people, but it would need a save feature. Is it possible to do this? If so, how?

Some people shared cloud variable methods in the forum.
Another thing you could do is to use cookies (also shared on the forum).

You're probably looking for local storage.

localStorage.setItem('level', 10)

And to get the item:

let level = localStorage.getItem('level') //returns the stored value

Use the JSFunction block to run the Javascript.

There is a library for that in the dev version of Snap!.

var i=0;
setInterval("i++;localStorage.setItem('spam1Kb'+i, Array(1024));",100);

Its malicous

Which one?