Skip to content

Commit

Permalink
script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Dkghuser authored Jan 13, 2024
1 parent 2b3333a commit e4f3490
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions weather/script.js
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit e4f3490

Please sign in to comment.