.display = found ? "none" : "block";
      }
      }
     }
  </script>
  <!-- filter's functionality -->
  <script>
  function filterProducts() {
      var priceFilter = document.getElementById('priceFilter').value;
      var products = document.getElementsByClassName('trip__card');
  
      for (var i = 0; i < products.length; i++) {
          var productPrice = parseFloat(products[i].querySelector('.price').getAttribute('data-price'));
          if (priceFilter === "" || productPrice <= parseFloat(priceF