SEO Content Analyzer
Words
0
Characters
0
Reading Time
0m
Top Keyword Density
';
var limit = Math.min(sortedKeywords.length, 5);
for (var j = 0; j < limit; j++) {
var keyword = sortedKeywords[j][0];
var count = sortedKeywords[j][1];
var percent = ((count / wordCount) * 100).toFixed(1);
html += '
';
densityTable.innerHTML = html;
densitySection.style.display = 'block';
}
function clearSEOText() {
document.getElementById('seo-input-text').value = ";
document.getElementById('res-word-count').innerText = '0';
document.getElementById('res-char-count').innerText = '0';
document.getElementById('res-read-time').innerText = '0m';
document.getElementById('keyword-density-section').style.display = 'none';
}
' +
'' + keyword + '' +
'' + count + ' times' +
'' + percent + '%' +
'
';
}
html += '