Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

guy making a small project, in this case a simple fake shopping cart. i have and add button and a remove button. but the remove

guy making a small project, in this case a simple fake shopping cart. i have and add button and a remove button. but the remove button is only taking out the last product i entered and not the one am clicking. i think the issues is on my removeProduct function. not sure if i am making the right use of splice or do i need to take another aproach please advice.

Orders