<p>Click the button to append an item to the end of the list.</p>
<buttononclick="myFunction()">Try it</button>
<p><strong>Note:</strong><br>First create an LI node,<br> then create a Text node,<br> then append the Text node to the LI node.<br>Finally append the LI node to the list.</p>