I try to store data from user-input in an object in order to be able to store the data in localstorage. My problem is that I cant figure out how to make it work. When I write something as value inside the object (data) it works fine but the user-input cant be stored as value in my object.
Any suggestions?
Thank you for your answers.