I was trying to run this with jquery-3.3.1.slim.min.js
$("li").click(function(){
$(this).toggleClass("click"); });
$("span").click(function(event){
$(this).parent().fadeOut("slow", function(){
$(this).remove();
});
event.stopPropagation();
});
but it did not work with this version
but when i tried to use jquery-3.3.1.min.js it worked correctly
so is the problem in my code or in jquery ?