We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb9ca38 commit d771cd0Copy full SHA for d771cd0
1 file changed
15 - LocalStorage/index-START-y.html
@@ -42,6 +42,8 @@ <h2>LOCAL TAPAS</h2>
42
items.push(item); //add item
43
// console.table(items); //check
44
populateList(items, itemsList);
45
+ // only string
46
+ localStorage.setItem('items', JSON.stringify(items));
47
this.reset(); //clear item
48
}
49
0 commit comments