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
Through this code, you can get click count on a button.
Button 0 ----------JAVASCRIPT---------- let count = 0; function myFunction() { count+=1; document.getElementById("btn").innerHTML = count; }