create an input element with a label or button in js. when pressing the button , add the input value to the list code example
Example: input type button
<input type="button" value="Button content...">
<input type="button" value="Button content...">