diff --git a/15 - LocalStorage/index-FINISHED.html b/15 - LocalStorage/index-FINISHED.html index 2c492b1088..60e0be0c4b 100644 --- a/15 - LocalStorage/index-FINISHED.html +++ b/15 - LocalStorage/index-FINISHED.html @@ -32,7 +32,7 @@

LOCAL TAPAS

function addItem(e) { e.preventDefault(); - const text = (this.querySelector('[name=item]')).value; + const text = this.item.value; const item = { text, done: false