Cost of Kitchen Cabinets Calculator December 28, 2025December 28, 2025 by SEO Content Analyzer Enter your Meta Title or Description: Characters 0 Words 0 Meta Title Status (Target: 50-60 chars) Meta Description Status (Target: 120-155 chars) Clear Text function calculateSEO() { var textArea = document.getElementById('seo-input-text'); var charDisplay = document.getElementById('char-count'); var wordDisplay = document.getElementById('word-count'); var text = textArea.value; var charCount = text.length; var wordCount = text.trim() === "" ? 0 : text.trim().split(/\s+/).length; charDisplay.innerText = charCount; wordDisplay.innerText = wordCount; // Title Logic var titleInd = document.getElementById('title-indicator'); var titleMsg = document.getElementById('title-msg'); if (charCount === 0) { titleInd.style.background = "#cbd5e0"; titleMsg.innerText = "Meta Title Status (Target: 50-60 chars)"; } else if (charCount >= 50 && charCount 60) { titleInd.style.background = "#f56565"; titleMsg.innerText = "Meta Title too long (Truncation likely)"; } else { titleInd.style.background = "#ed8936"; titleMsg.innerText = "Meta Title too short"; } // Description Logic var descInd = document.getElementById('desc-indicator'); var descMsg = document.getElementById('desc-msg'); if (charCount === 0) { descInd.style.background = "#cbd5e0"; descMsg.innerText = "Meta Description Status (Target: 120-155 chars)"; } else if (charCount >= 120 && charCount 155) { descInd.style.background = "#f56565"; descMsg.innerText = "Meta Description too long"; } else { descInd.style.background = "#ed8936"; descMsg.innerText = "Meta Description too short"; } } function clearSeoTool() { var textArea = document.getElementById('seo-input-text'); textArea.value = ""; calculateSEO(); } { "@context": "https://schema.org", "@type": "SoftwareApplication", "name": "SEO Content Analyzer", "applicationCategory": "SEO Tool", "operatingSystem": "Web", "offers": { "@type": "Offer", "price": "0" } }