ve("hidden"); 
        resEl.classList.remove("hidden"); 
      });

    document.addEventListener('click', function(event) {
        var isClickInside = searchBox.contains(event.target);
        if (!isClickInside) {
            console.log('hidden')
            resEl.classList.add("hidden"),noResultsEl.classList.add("hidden")
            noResultsEl.classList.add("hidden")
        }
      });

    resEl.innerHTML = "";
      if (e.target.value != "") {
        if (results != "") {
          noResultsEl.cl