Good day,
I am in a coding bootcamp and I'm struggling with one of the tasks. I can only do frontend and use vanilla JS
I am busy building a shopping cart for a store, I have the cart functional at the moment, but as soon as I click on the cart.html I get 2 errors JS errors and I don't know how to resolve them.
I am adding 2 code snippets regarding the error I get in the dev console first error code this is the first error's code. and this is the second error's code second error's code
The cart if fully functional on the catalogue page but I need to have a separate file for the cart. I am using localStorage, and when I check the storage on the cart.html page I can see the items in the storage