Javascript Next Level - Dynamic List Object

hi guys,
im doing this part, get user’s input and list into array . whenever i click button to get user input , the list just show up all previous content + user input . i try to use " list.html (""); to avoid that issue but it doesn’t work . What should i do ? Thanks guys.