add class onto an element

add class onto an element

Hi,
I would like to add a class onto my element saved_filter_tile

Although when I try to, it adds the class onto the h5
  1. $("#space_manager_saved_search_selection .saved_filter_tile h5").off().on("click", function(){
  2.                 console.log("I am here!");
                    $(this).addClass('selected');
                });