In script.js, inside the removeTransaction(id) function (around line 91) of the 04-expense-tracker, deleting a transaction works visually but it comes back after refresh. This is because the localStorage key is misspelled as "transcations" instead of "transactions", so the updated data isn’t being saved properly.
In script.js, inside the removeTransaction(id) function (around line 91) of the 04-expense-tracker, deleting a transaction works visually but it comes back after refresh. This is because the localStorage key is misspelled as "transcations" instead of "transactions", so the updated data isn’t being saved properly.