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; }