I wanted to know how to create a function that can keep adding all the sent parameters(numbers) by user clicks.
I'm having hard time figuring out how to create loops before writing actual calculation.
Actually, do I even have to write any kind of loops?
I want a page where users can see the list of products with each price on the sides, and users can click "add" button of multiple number of products, and number increases on the box called "Total Price" according to user clicks.
Can anyone please help me??
I'm new to JS..