Why is not this working?
Archiviert 8 months ago
P
</Jacunso>
Verified
```div
// Counter program
const decrease = document.getElementById("decreasebtn");
const reset = document.getElementById("resetbtn");
const increase = document.getElementById("increasebtn");
const countlbl = document.getElementById("myH13");
let count;
countlbl = Number(countlbl);
decrease.onclick = function(){
count--;
countlbl.textContent
}
increase.onclick = function(){
count++;
countlbl.textContent = count
}
```
