What does the appendChild() method perform?
A
Appends a node in the middle of the index taken as the parameter
B
Appends a node as the first child
C
Appends a node as the last child
D
Replaces and appends at the last node
Correct Answer: Appends a node as the last child
The appendChild() method appends a node as the last child of a node. You can also use this method to move an element from one element to another.