js/main.js
// Removes all checked items from list
Removes all checked items from list
Removes all checked items from list
function removeChecked() {
  items = items.filter(i => !i.checked);
  localStorage.setItem("items", JSON.stringify(items));
  updateDisplay(groceryList, items);
}
function removeChecked ( ) { items = items . filter ( i => ! i . checked ) ; localStorage . setItem ( "items" , JSON . stringify ( items ) ) ; updateDisplay ( groceryList , items ) ; }
Removes all checked items from list
Removes all checked items from list