ClickCountWithJavaScript1 #js #VS
var count = 0;
var countButton = document.getElementById("countButton");
var displayCount = document.getElementById("displayCount");
countButton.onclick = function(){
count++;
displayCount.innerHTML = count;
}
resetButton.onclick = function(){
count = 0;
displayCount.innerHTML = count;
}