C
C
Christina2018-02-19 12:07:51
JavaScript
Christina, 2018-02-19 12:07:51

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

1 answer(s)
S
sim3x, 2018-02-19
@sim3x

https://www.google.com.ua/search?q=js+%F1%EA%EB%EE...
https://gist.github.com/realmyst/1262561

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question