Thank you for your reply.
The method I used to replicate the "add to-do action" is to hide a "li" with all properties, elements such as the circle and cross and classes, and during the "enter key" on the input text, clonating the element to the end of "ul". Is it possible to store an "li" with elements and classes in localstorage as string? If possible how should I stringify an element such as that?
Thank you again for the help!