wht message are you getting? you forgot to share that
anyway, you deleted part of the code, now currentProductCount does not exist anymore. You should see an error in the console saying something like that
from your falsy expression. 2. You should use the addition assignment operator to add HTML to the
productsContainer
. Remember that HTML goes in the
innerHTML
property. 4. You should add a
div
to the
productsContainer
. 5. Your
div
should have the
class
set to
product
. 6. Your
div
should have the
id
set to
dessert${id}
. // tests completed // console output [ReferenceError: ShoppingCart is not defined] [ReferenceError: ShoppingCart is not defined] [ReferenceError: ShoppingCart is not defined] [ReferenceError: ShoppingCart is not defined] [ReferenceError: ShoppingCart is not defined] this is what im getting maybe im doing something wrong
</div>` this is my code currently and this is the error showing 1. You should remove the undefined from your falsy expression.
You should use the addition assignment operator to add HTML to the productsContainer. Remember that HTML goes in the innerHTML property.
You should add a div to the productsContainer.
Your div should have the class set to product.
Your div should have the id set to dessert${id}.
// tests completed
// console output
[ReferenceError: ShoppingCart is not defined]
[ReferenceError: ShoppingCart is not defined]
[ReferenceError: ShoppingCart is not defined]
[ReferenceError: ShoppingCart is not defined]
[ReferenceError: ShoppingCart is not defined]