function refreshPendingItemsCounter() {
    let feladatok = todos;
    let counter = 0;
    feladatok.map((item) => {
        if (item.status === false) {
            counter += 1;
        }
    })
    pendingItemsCounter.innerText = counter;
}
/* frissiti a pending-ben  levo task-ok szamat jelzo mezot */
frissiti a pending-ben  levo task-ok szamat jelzo mezot
frissiti a pending - ben levo task - ok szamat jelzo mezot
function refreshPendingItemsCounter() {
    let feladatok = todos;
    let counter = 0;
    feladatok.map((item) => {
        if (item.status === false) {
            counter += 1;
        }
    })
    pendingItemsCounter.innerText = counter;
}
function refreshPendingItemsCounter ( ) { let feladatok = todos ; let counter = 0 ; feladatok . map ( ( item ) => { if ( item . status === false ) { counter += 1 ; } } ) pendingItemsCounter . innerText = counter ; }
frissiti a pending-ben  levo task-ok szamat jelzo mezot
frissiti a pending - ben levo task - ok szamat jelzo mezot