HTML : document.getElementById('{ID of element}').innerHTML = '{content}';

innerHTML

with the innerHTML we can modify the page content without refreshing the page, it will make a website looks faster and quicker.

Example :

document.getElementById('{ID of element}').innerHTML = '{content}';
    document.getElementById('countLessThan6Months').innerHTML = '99+';