Hello, I'm programming my site in c9.io and I'm using a cont shown here at this link: How to add +1 in a countable variable to each click?
But in the line of Js, $ is not defined, fix it, or add global $. When I shoot the $ does not work and when I keep it off. How could I fix it?
var count = 0;
$('#addCount').click(function(){
alert(count);
count++;
<input type=button id=addCount value="Adicionar Count">
FOLLOW THE SITE LINK link