Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit de54775

Browse files
committed
update the path
1 parent 0f392f1 commit de54775

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source-Code/WeatherApp/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const updateWeatherInfo = (result) => {
4343
condition2.innerText = current.condition.text;
4444
icon.src = current.condition.icon;
4545

46-
const isDay = current.is_day === 1 ? 'day' : 'night';
46+
const isDay = current.is_day === 1 ? 'Day' : 'Night';
4747
const codes = [
4848
[1000, 10000, 10001, 1100, 11001, 11000, 51190, 60030], // clear
4949
[

0 commit comments

Comments
 (0)