Claim Details

View detailed information about this claim and its related sources.

Back to Claims

Claim Information

Complete details about this extracted claim.

Claim Text
document.addEventListener("DOMContentLoaded", () => { const tocContainer = document.querySelector("[data-toc-list]"); const tocToggleTrigger = document.querySelector("[data-toc-toggle]"); const globalH1 = document.querySelector("h1"); const articleElement = document.querySelector("article"); if (!articleElement) { return; } const articleHeadingsRaw = Array.from(articleElement.querySelectorAll("h2, h3")); const showHeadings3 = true; const articleHeadings = showHeadings3 ? articleHeadingsRaw : articleHeadingsRaw.filter((h) => h.tagName !== "H3"); const headings = articleHeadings; if (!tocContainer || !headings.length) { return; } const tocLineWidthH2 = "0.5rem"; const tocLineWidthH3 = "0.25rem"; const tocLineWidthH2Mini = "0.5rem"; const tocLineWidthH3Mini = "0.25rem"; const scrollOffset = window.innerHeight * 0.05; const triggerLine = window.innerHeight * 0.3; let isMiniMode = localStorage.getItem("tocMiniMode") === "true"; let isHovering = false; let tocItems = []; let headingData = []; let previousActiveIndex = -1; let recalculatePositionsScheduled = false; function debounce(func, wait) { let timeout; return function executedFunction(...args) { const later = () => { clearTimeout(timeout); func(...args); }; clearTimeout(timeout); timeout = setTimeout(later, wait); }; } const calculateAllHeadingPositions = () => { headingData.forEach((data) => { const rect = data.element.getBoundingClientRect(); data.top = rect.top + window.pageYOffset; }); headingData.sort((a, b) => a.top - b.top); recalculatePositionsScheduled = false; }; const schedulePositionRecalculation = debounce(() => { if (!recalculatePositionsScheduled) { recalculatePositionsScheduled = true; requestAnimationFrame(calculateAllHeadingPositions); } }, 100); const updateTocVisuals = (forceMode = null) => { const currentMode = forceMode !== null ? forceMode : isMiniMode; tocItems.forEach((item) => { item.classList.toggle("is-mini", currentMode); const lineEl = item.querySelector(".blog-post-toc_item-line"); const textEl = item.querySelector("div:last-child"); if (!l
Simplified Text
Script creates dynamic table of contents widget with active section tracking
Confidence Score
1.000
Claim Maker
The author
Context Type
Blog Post
Context Details
{
    "author": "Andreea Stefan",
    "datePublished": "May 12, 2025"
}
UUID
9f968652-5378-43d8-8586-72d48b4155cc
Vector Index
✗ No vector
Created
August 8, 2025 at 9:27 PM (2 weeks ago)
Last Updated
August 8, 2025 at 9:27 PM (2 weeks ago)

Original Sources for this Claim (1)

All source submissions that originally contained this claim.

Screenshot of https://surferseo.com/blog/how-to-write-a-feature-article/
https://surferseo.com/blog/how-to-write-a-feature-article/

This guide provides a step-by-step process for writing engaging and SEO-optimized feature articles. It covers outlining, writing style, revision, SEO optimization, and visual enhancements.

Feature Writing
Content Creation
Journalism
SEO Writing
Content Strategy
Writing Skills
Content Writing
Feature Articles
SEO
SurferSEO

Similar Claims (0)

Other claims identified as semantically similar to this one.

No similar claims found

This claim appears to be unique in the system.

Claim Management System - MVP