---
title: "Discussion on \"Add TOC with Scroll Spy in Astro\" | Hashnode"
description: "Discussion on \"Add TOC with Scroll Spy in Astro\". Add Table of Content to an Astro blog with Scroll Spying in Vanilla JS"
url: "https://hashnode.com/posts/add-toc-with-scroll-spy-in-astro/63bafb8926a8f7eb246a6bd3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Add TOC with Scroll Spy in Astro](https://fazzaamiarso.hashnode.dev/add-toc-with-scroll-spy-in-astro?utm_source=hashnode&utm_medium=feed)

Add Table of Content to an Astro blog with Scroll Spying in Vanilla JS

Jan 8, 2023 · 4 min read · fazzaamiarso.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#astro](https://hashnode.com/tag/astro)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Fazza Razaq Amiarso](https://hashnode.com/@fazzaamiarso)

@fazzaamiarso · Indonesia

  
[View profile](https://hashnode.com/@fazzaamiarso)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
