← Back to JavaScript exercises

34. Counter Application

Result appears here
let count=0;button.onclick=()=>output.textContent=++count;