$()

in js/filter-tutorial-tags.js [43:59]


    $(".filter-btn").on("click", function() {
      if ($(this).data("tag") == "all") {
        $(this).addClass("all-tag-selected");
        $(".filter").removeClass("selected");
      } else {
        $(this).toggleClass("selected");
        $("[data-tag='all']").removeClass("all-tag-selected");
      }

      // If no tags are selected then highlight the 'All' tag

      if (!$(".selected")[0]) {
        $("[data-tag='all']").addClass("all-tag-selected");
      }

      updateList();
    });