I attempting to create a flip transition which can been seen Here i want this function to activate when the user click on the info button, however i can not seem to target the .card class in order to activate the flip transition.
below is a snippet of my jquery
$('.active-btn').click(function(){
$(this).closest('.card').find('.flip')
.addClass('flipped').mouseleave(function(){
$(this).removeClass('flipped');
});
return false;
});
Uncaught ReferenceError: $ is not defined