• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

201
Views
How to allow cart.html to render products from product page

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

about 3 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error