---
title: "Discussion on \"Know your DOM?\" | Hashnode"
description: "Discussion on \"Know your DOM?\". When something related to web development clicks in our mind, we think of HTML and JavaScript. But these two terms totally different from each other. How they even interacting with each other? Now let's read to get the answer of this…\nBoth JavaScript..."
url: "https://hashnode.com/posts/know-your-dom/621e71e11b723d167efd39d0"
---

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

Discussion

# [Know your DOM?](https://shaanblog.io/know-your-dom?utm_source=hashnode&utm_medium=feed)

When something related to web development clicks in our mind, we think of HTML and JavaScript. But these two terms totally different from each other. How they even interacting with each other? Now let's read to get the answer of this… Both JavaScript...

Mar 1, 2022 · 2 min read · shaanblog.io  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#dom](https://hashnode.com/tag/dom)
-   [#html5](https://hashnode.com/tag/html5)

## Written by

[Shanu Agrawal](https://hashnode.com/@shaan798)

@shaan798 · Banglore

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

I code, I Write - about JS,React

## Responses 1

Markdown supported · ⌘↵ to post

[Prajul Sahu](https://hashnode.com/@prajulaadityaa007)

[Mar 2, 2022](https://hashnode.com/posts/know-your-dom/621e71e11b723d167efd39d0/comment/621ef788aa0b9716581f963c)

Good job Shanu, I would like to add some more points to it. JS makes it easy to manipulate the DOM, but there's no way to do it efficiently, adding multiple DOM elements consecutively will make your code buggy and might not work well. Now, can you please write about alternatives, like using document fragments instead.

[Shanu Agrawal](https://hashnode.com/@shaan798)

[Mar 2, 2022](https://hashnode.com/posts/know-your-dom/621e71e11b723d167efd39d0/comment/621ef788aa0b9716581f963c#reply-621efb86aa0b9716581f96c9)

Thanx @prajulsahu for adding values to this article, sure I will write on this.
