Document Object Model

createElement

The text above has been created dynamically.

appendChild

Can we get ice cream?


Click the button to append an item to the end of the list.


insertBefore

Click the button to append an item to the beginning of the list.