- Prepare
ul
node to be used later
- Call
onsubmit
function - Get
value
frominput
box - Create
li
node - Append the
value
as atextNode
into theli
node - Append the
li
node into theul
node - Get the
input
box element, then empty out thevalue
from thatinput