Skip to content

Commit 58a7e15

Browse files
committed
change placeholder
1 parent d68db27 commit 58a7e15

6 files changed

+3
-2
lines changed
677 Bytes
Loading
Lines changed: 1 addition & 0 deletions
Loading
2.38 KB
Loading
774 Bytes
Loading

js/wmain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ weatherConditions.onload = function () {
3131
console.log(wCond);
3232
document.getElementById('location').innerText = wCond.name;
3333
const iconcode = wCond.weather[0].icon;
34-
console.log("GOT icon = " + iconcode);
34+
console.log("current cond icon = " + iconcode);
3535
const iconpath = "https://openweathermap.org/img/w/" + iconcode + ".png";
3636
console.log(iconpath);
3737
document.getElementById('wcicon').src = iconpath;

weather_ins.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h2>JSON data via OpenWeatherMap.org API</h2>
4646
<section id="left">
4747
<div id="location">City HSV</div>
4848
<div id="weathccondicon">
49-
<img src="/images/WeatherConditionPlaceholder-alt2.png" alt="current weather" id="wcicon">
49+
<img src="/images/WeatherConditionPlaceholder-spinner1.svg" alt="current weather" id="wcicon">
5050
</div>
5151
<div id="weather">Current Conditions</div>
5252
<div style="text-align: center;"><span id="temperature">?</span> &deg;F</div>

0 commit comments

Comments
 (0)