Ask coding questions

← Back to all posts
Broken Timer
RiaanSheth

I need a way to increment the number of cookies when you click the button but for some reason there seems to be an error in my timer code. If anyone can help please let me know how to improve, rework, or fix the code ty.

Voters
RiaanSheth
Comments
hotnewtop
Coder100

Also move the class cookie handler to a new file, CookieHandler.java

Coder100

Line 33, change to }); to match the opening parentheses on line 125