Ciao a tutti ho queste righe di codice:

codice:
var calendar_show = (cnt) => {
    el.nextElementSibling.innerHTML = cnt;
}
mi da questo errore:
TypeError: Cannot set properties of null (setting 'innerHTML')