Answer the question
In order to leave comments, you need to log in
How to make the value and text in the cart change when the button is clicked?
Hello!
Please tell me how to modify this script so that initially it says in the cart:
There are 0 items in the cart.
And then: There is 1 item in the cart, 2 items in the cart, and so on.
https://jsfiddle.net/mgt4ch0s/4/
Thanks!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question