assets/js/script.js
// clears the storages where previous searches are stored
clears the storages where previous searches are stored
clears the storages where previous searches are stored
function clearStorage() {
  localStorage.clear();
  savedBtn.innerHTML = "";
  weatherContainerEl.textContent = '';
  cityNameEl.value = '';
  cardGroup.textContent = '';
  cities = [];
  hideThis.style.display = "none";
}
function clearStorage ( ) { localStorage . clear ( ) ; savedBtn . innerHTML = "" ; weatherContainerEl . textContent = '' ; cityNameEl . value = '' ; cardGroup . textContent = '' ; cities = [ ] ; hideThis . style . display = "none" ; }
clears the storages where previous searches are stored
clears the storages where previous searches are stored