I have done something similar to this before, and I know this is really close. I\'m just trying to make it so that my button increments the javascript variable, and the func
Don't use the word "click" as the function name. It's a reserved keyword in JavaScript. In the bellow code I’ve used "hello" function instead of "click"