---
title: "Discussion on \"What is the difference between the append() & appendChild()?\" | Hashnode"
description: "Discussion on \"What is the difference between the append() & appendChild()?\". What is append()?\nThe append() method will insert DOMString objects as text nodes. The method has no return value. Let's say you have a ul and you want to add a p tag but only within the js file. \n<html>\n    <head>\n    </head>\n    <body>\n        <ul ..."
url: "https://hashnode.com/posts/what-is-the-difference-between-the-append-and-appendchild/6050e773416f221f065b706a"
---

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

Discussion

# [What is the difference between the append() & appendChild()?](https://thesoulcoder.hashnode.dev/what-is-the-difference-between-the-append-and-appendchild?utm_source=hashnode&utm_medium=feed)

What is append()? The append() method will insert DOMString objects as text nodes. The method has no return value. Let's say you have a ul and you want to add a p tag but only within the js file. <html> <head> </head> <body> <ul ...

Mar 16, 2021 · 3 min read · thesoulcoder.hashnode.dev  
Read the article

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

## Written by

[Brittany Loy](https://hashnode.com/@TheSoulCod3r)

@TheSoulCod3r · California

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

Professional overthinker but I am effective :)

I am technologist (whatever that means) who writes about people, systems, and the messy space where they collide. Through lived experience, and hands on work.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
