+ 2

how to get item from localstorage and put inside the ul list item.

i am trying to make todo list which stay item remain after refresh i can put the input string to localstorage but dont know how to get the item and put inside li tag so that it stay after page reload.

29th Jun 2019, 1:32 AM
Danielov
Danielov - avatar
1 Odpowiedź
+ 2
// set localStorage.setItem('ui_list', list); //get var list = localStorage.getItem('ui_list');
30th Jun 2019, 12:47 AM
Freezemage
Freezemage - avatar