Cost of a New Roof Calculator

.seo-tool-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; border: 2px solid #e2e8f0; border-radius: 12px; padding: 25px; background-color: #ffffff; max-width: 800px; margin: 20px auto; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); } .seo-tool-header { margin-bottom: 20px; text-align: center; } .seo-tool-header h2 { color: #1a202c; margin: 0 0 10px 0; font-size: 24px; } .seo-tool-input-group { margin-bottom: 15px; } .seo-tool-label { display: block; font-weight: 600; margin-bottom: 5px; color: #4a5568; } .seo-tool-input { width: 100%; padding: 12px; border: 1px solid #cbd5e0; border-radius: 6px; font-size: 16px; box-sizing: border-box; } .seo-tool-button { background-color: #3182ce; color: white; padding: 12px 24px; border: none; border-radius: 6px; cursor: pointer; font-size: 16px; font-weight: 600; width: 100%; transition: background-color 0.2s; } .seo-tool-button:hover { background-color: #2b6cb0; } .seo-results { margin-top: 20px; padding: 15px; background-color: #f7fafc; border-radius: 6px; display: none; } .seo-stat { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #edf2f7; } .seo-stat:last-child { border-bottom: none; } .stat-label { font-weight: 500; color: #4a5568; } .stat-value { font-weight: 700; color: #2d3748; } .status-good { color: #38a169; } .status-bad { color: #e53e3e; }

SEO Snippet Optimizer

Check your Meta Title and Description length for Google Search.

Title Length: 0 characters
Title Status:
Description Length: 0 characters
Description Status:
{ "@context": "https://schema.org", "@type": "SoftwareApplication", "name": "SEO Snippet Optimizer", "operatingSystem": "Windows, macOS, Android, iOS", "applicationCategory": "BusinessApplication", "offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" } } function analyzeSEO() { var title = document.getElementById('metaTitle').value; var desc = document.getElementById('metaDesc').value; var resultsBox = document.getElementById('seoResults'); var titleCount = title.length; var descCount = desc.length; resultsBox.style.display = 'block'; document.getElementById('titleCount').innerText = titleCount + ' characters'; var titleStatus = document.getElementById('titleStatus'); if (titleCount >= 50 && titleCount 60) { titleStatus.innerText = 'Too Long (Truncated)'; titleStatus.className = 'stat-value status-bad'; } else { titleStatus.innerText = 'Too Short'; titleStatus.className = 'stat-value'; } document.getElementById('descCount').innerText = descCount + ' characters'; var descStatus = document.getElementById('descStatus'); if (descCount >= 120 && descCount 160) { descStatus.innerText = 'Too Long (Truncated)'; descStatus.className = 'stat-value status-bad'; } else { descStatus.innerText = 'Too Short'; descStatus.className = 'stat-value'; } }

Leave a Comment