showing results for - "javascript count number of clicks limit"
Sebastián
13 Nov 2017
1let count = 0;
2count++;
3console.log(count);
4if (count>6){
5document.getElementById("btn").disabled = true;
6alert("Game over!!!");
7
8}