Why is only a few of the cookies being added

https://replit.com/@JerraWright-Smi/Cookie-Cart#Our-range.html

Hi @JerraWright-Smi thanks for your question and welcome to the community.

The problem is with line 154 which is passing a null value when attempting to add hazelnut to the cart.

Hope this helps!

1 Like