diff --git a/index.js b/index.js index 48ce2d7..527e511 100644 --- a/index.js +++ b/index.js @@ -5,6 +5,10 @@ const inputbox = document.querySelector("#inputbox") const weather = document.querySelector(".weather-ui") const getWeather = async(city) => { + if(city == ""){ + weather.innerHTML = '