What is the appendchild method?

Share

The appendChild() method appends a node as the last child of a node.

Syntax

node.appendChild(node)
Copyright ©2024 Educative, Inc. All rights reserved