Preview:
let count = 0


function increaseCount(){
    count++
    counterValue.innerText = count
}

function decreaseCount(){
    if(count > 0){
        count--
    }
    counterValue.innerText = count
}

function resetCounter(){
    count = 0
    counterValue.innerText = count
}   
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter