Hi,
I am trying to recreate a nifty shopping list app that I found on w3schools in my own way, so I can understand it properly, but I can’t get my code to work! I seem to have got to the point where I am able to type text into the input field and press the button to add it to the list, but I think it is just adding the text back into the input field and not the list. I’m really not sure though.
Here is a link to the code on codepen:
https://codepen.io/gumpsh/pen/oNBQJxb
And here is the code:
Click the button to add user input to the list
AddI would be extremely grateful for any advice, as I have been tinkering with this for ages now and it is driving me mad! I have searched stack overflow and countless other sites for an answer, but nothing seems to work when I try it.