---
title: "Discussion on \"NodeList vs HTMLCollection: A Small DOM Detail That Causes Big Bugs\" | Hashnode"
description: "Discussion on \"NodeList vs HTMLCollection: A Small DOM Detail That Causes Big Bugs\". Learn the difference between NodeList and HTMLCollection in the DOM. Understand static vs live collections and when to use each."
url: "https://hashnode.com/posts/nodelist-vs-htmlcollection-a-small-dom-detail-that-causes-big-bugs/69b4435e6e27dd07d926522f"
---

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

Discussion

# [NodeList vs HTMLCollection: A Small DOM Detail That Causes Big Bugs](https://shriyanshagarwal.hashnode.dev/nodelist-vs-htmlcollection-a-small-dom-detail-that-causes-big-bugs?utm_source=hashnode&utm_medium=feed)

Learn the difference between NodeList and HTMLCollection in the DOM. Understand static vs live collections and when to use each.

Mar 13 · 3 min read · shriyanshagarwal.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#dom](https://hashnode.com/tag/dom)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#javascript-tips](https://hashnode.com/tag/javascript-tips)
-   [#dom-in-javascript](https://hashnode.com/tag/dom-in-javascript)
-   [#queryselectorall](https://hashnode.com/tag/queryselectorall)
-   [#dom-manipulation](https://hashnode.com/tag/dom-manipulation)
-   [#htmlcollection](https://hashnode.com/tag/htmlcollection)
-   [#nodelist](https://hashnode.com/tag/nodelist)
-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Shriyansh Agarwal](https://hashnode.com/@ShriyanshAgarwal)

@ShriyanshAgarwal · Agra, India

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
