Edited according to voters:
My main problem right now, is that I created a counter in java. Numbers are suppose to go from 0 to the given number at page load, as you can see on example here: https://codepen.io/corpid/pen/poJERBM…
It works like a charm in that page... in codepen.io,
When I add it to my wordpress site, when I load the web, instead of increasing from 0 to given number (there are 3 different numbers), the counter goes from given number to 0... it goes backwards like a countdown to 0
For example, the first item is supposed to go from 0 to 500, but it goes from 500 to 0.... only on my web, cause in Codepen it works fin...
Webpage to see problem is: https://webreviewing.com/CCMS
this is the function
$('.count').each(function (thousands_sep) {
$(this).prop('Counter',0).animate({
Counter: $(this).text()
}, {
duration: 1000,
easing: 'swing',
step: function (now) {
$(this).text(Math.ceil(now));
}
});
});