From e4f3490f84cfeeac3f73399fabfce85b28ad59ed Mon Sep 17 00:00:00 2001 From: Deepak_K <139794590+Dkghuser@users.noreply.github.com> Date: Sat, 13 Jan 2024 19:26:56 +0530 Subject: [PATCH] script.js --- weather/script.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/weather/script.js b/weather/script.js index 12661ae..18480d0 100644 --- a/weather/script.js +++ b/weather/script.js @@ -43,16 +43,16 @@ async function checkWeather(city){ weather_img.src = "/assets/clear.png"; break; case 'Rain': - weather_img.src = "./assets/rain.png"; + weather_img.src = "/assets/rain.png"; break; case 'Mist': - weather_img.src = "./assets/mist.png"; + weather_img.src = "/assets/mist.png"; break; case 'Snow': - weather_img.src = "./assets/snow.png"; + weather_img.src = "/assets/snow.png"; break; case 'Drizzle': - weather_img.src = "./assets/drizzle.png"; + weather_img.src = "/assets/drizzle.png"; break; }