I'm making a game and every time I click on a white circle it will substract 1 from the 100k.
The mission is to click 100k times on the white circle and end with 0 points.
But the variable ("clicks" is my variable) must be saved to go further if you start up the app again.
I tried it with LocalStorage but it doesn't seems to work... (I'am not good with this things).
Can someone please input the localstorage events so I can work further?
(the variable highscore can be removed)
I hope someone can fix this for me.
Here is the link: jmp.sh/UpmEety