Open HelloMihai opened 3 years ago
you are adding data to the dom then using it to manipulate local storage
this is a bad concept
you need a data model in your JS that is represented in the DOM, not use the DOM to store your data model
related to issue #5 reliance on text match is too error prone https://github.com/MarcelHarabagiu/Todo-list/issues/5#issue-786282863 now data is added to an array as multiple objects
you are adding data to the dom then using it to manipulate local storage
this is a bad concept
you need a data model in your JS that is represented in the DOM, not use the DOM to store your data model