Как увеличить шрифт текста при клике на кнопку на чистом js

Имеется счетчик, при клике на кнопку увеличивается число, нужно что бы еще увеличивался размер шрифта при каждом клике, вопрос что не так и как поправить

window.onload = initializer;
var  theCount = 0;
function initializer() {
    document.getElementById("incremenButon").onclick = increaseCount;
    document.getElementById("incremenButon").addEventListener('click',changeSize);
}
function increaseCount() {
    theCount++;
    document.getElementById("currentCount").innerHTML = theCount;
}

function changeSize (e) {
    document.getElementById("currentCount").style.fontSize = theCount;
}
<body>
    <h1>
        Щелкние на кнопке
    </h1>
    <p>
        Текущее зачение: <span id="currentCount">0</span>
    </p>
    <button id="incremenButon">
        Инкрементировать счетчик
    </button>

</body>


Ответы (2 шт):

Автор решения: Crasher

fontSize укажите в пикселях (em, rem), в чем надо, тогда заработает, например

document.getElementById("currentCount").style.fontSize = theCount + 'px'
→ Ссылка
Автор решения: Aziz Umarov

Можно так

var  theCount = 0;
document.getElementById("incremenButon").addEventListener('click',changeSize);


function changeSize (e) {
    theCount++;
    document.getElementById("currentCount").innerHTML = theCount;    
    document.getElementById("currentCount").setAttribute('style', `font-size: ${theCount}pt`);
    
}
<body>
    <h1>
        Щелкние на кнопке
    </h1>
    <p>
        Текущее зачение: <span id="currentCount">0</span>
    </p>
    <button id="incremenButon">
        Инкрементировать счетчик
    </button>

</body>

→ Ссылка