---
title: "Discussion on \"NodeList Vs HTML collection\" | Hashnode"
description: "Discussion on \"NodeList Vs HTML collection\". Understanding NodeList and HTML collection in javaScript is very important. let's jump into:\n1. HTML collections :\nExample:\nJavaScript :\nlet items = document.getElementsByClassName(\"box\")\n\nWhat it Ret"
url: "https://hashnode.com/posts/nodelist-vs-html-collection/69b38ff993256dfc532a3c05"
---

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

Discussion

# [NodeList Vs HTML collection](https://leanwithpankaj.hashnode.dev/nodelist-vs-html-collection?utm_source=hashnode&utm_medium=feed)

Understanding NodeList and HTML collection in javaScript is very important. let's jump into: 1. HTML collections : Example: JavaScript : let items = document.getElementsByClassName("box") What it Ret

Mar 13 · 2 min read · leanwithpankaj.hashnode.dev  
Read the article

-   [#htmlcollection](https://hashnode.com/tag/htmlcollection)
-   [#nodelist](https://hashnode.com/tag/nodelist)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html-collection-vs-nodelist](https://hashnode.com/tag/html-collection-vs-nodelist)
-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Pankaj kumar](https://hashnode.com/@pankaj4391)

@pankaj4391

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
