I have tried to look at other clicker games codes but i can not piece together how to create my own.
For what? the web? if you want to use Javascript, you need addEventListener with a click
event, or if you use jquery, you can use .click()
or .on()
with click event in case you need it for elements added to the page dynamically
1 Like