---
title: "Discussion on \"Getting Started with the DOM\" | Hashnode"
description: "Discussion on \"Getting Started with the DOM\". As a web developer, the Document Object Model (DOM) is one of the most important concepts worth understanding. After reading this article, you should understand the DOM, it’s tree-like structure, how to target, and manipulate the DOM with JavaScript...."
url: "https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a"
---

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

Discussion

# [Getting Started with the DOM](https://edidiongasikpo.com/getting-started-with-the-dom?utm_source=hashnode&utm_medium=feed)

As a web developer, the Document Object Model (DOM) is one of the most important concepts worth understanding. After reading this article, you should understand the DOM, it’s tree-like structure, how to target, and manipulate the DOM with JavaScript....

May 5, 2020 · 4 min read · edidiongasikpo.com  
Updated May 2, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#dom](https://hashnode.com/tag/dom)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#newbie](https://hashnode.com/tag/newbie)

## Written by

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

@didicodes · Lagos, Nigeria

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

Senior Developer Advocate at Ambassador Labs

Edidiong Asikpo is a Senior Developer Advocate based in Lagos, Nigeria. She is passionate about sharing her Kubernetes and web development knowledge through technical articles, videos, talks, and social media.

## Responses 6

Markdown supported · ⌘↵ to post

[cyrusCodes](https://hashnode.com/@cyrusCodes)

[Jan 23, 2021](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/600bc61e8304951e7434e8ed)

Nice intro into the subject,

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Aug 11, 2020](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/5f3248d52a23d9080d1795f3)

Love this explanation! very clear

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Aug 11, 2020](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/5f3248d52a23d9080d1795f3#reply-5f32998b4332ee07eb55c6b6)

Glad you found it useful.

[Daniel Waylonis](https://hashnode.com/@nekodan)

[May 24, 2020](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/5ec9bf19957247ce0a4e9cb0)

A good introduction. I'm a big fan of using querySelector() rather than the older getElementById(), getElementByTagName(), and so on.

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Aug 11, 2020](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/5ec9bf19957247ce0a4e9cb0#reply-5f3299aa2a23d9080d1799ae)

Yeah, querySelector() is pretty cool as well.

[Ngaji Samuel](https://hashnode.com/@Korsh)

[May 10, 2020](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/5eb7b3c02845fa2f3923e7e3)

This is a great piece, someone just starting out with JavaScript will find this really useful.

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[May 10, 2020](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/5eb7b3c02845fa2f3923e7e3#reply-5eb7e7db2845fa2f3923e9b0)

It is really good to know you found the article useful. Feel free to share it with anyone you think might find it useful.

[Francisco Quintero](https://hashnode.com/@cesc1989)

[May 7, 2020](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/5eb35394651a1647038424c3)

> As a Software Developer, the Document Object Model (DOM) is one of the most important concepts worth understanding.

**You're 100% correct**. If one is doing software for the web, one should be able to understand DOM and have basic ideas on how to traverse it and manipulate it.

The DOM API is huge and most of the times we just use few APIs. We don't need to learn them all but it's OK to know they exist to grasp our possibilities in the web browser.

Thanks for sharing, Edidiong :)

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[May 7, 2020](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/5eb35394651a1647038424c3#reply-5eb429cd651a164703842a03)

Just like you said, we mostly use very few of the DOM APIs but understanding it is extremely very important.

Thank you for reading and sharing the article Francisco

[Awopetu Rasheed Oluwadamilare](https://hashnode.com/@Cybercode2000)

[May 5, 2020](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/5eb1c7b9f89d4c762e7079b1)

Thanks for this Well explained and well structured even with the diagram example. Looking forward to see the continuation of this ma. 🥰🥰🥰

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[May 7, 2020](https://hashnode.com/posts/getting-started-with-the-dom/5eb19574f89d4c762e70782a/comment/5eb1c7b9f89d4c762e7079b1#reply-5eb4291c2e13ca6903219339)

It's really good to know you found the article useful. Thank you for reading.
