Skip to content

Commit b79273d

Browse files
ArshadShaik07sumn2u
authored andcommitted
fix: updated weather app layout as suggested
1 parent cd0a92c commit b79273d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Weather-app/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ async function getWeatherInfo(city) {
1616
}
1717

1818
let res = await fetch(
19-
`https://api.openweathermap.org/data/2.5/weather?q=${city}&units=metric&appid=6244ab888f079565d5ce1deabddc3f77`
19+
`https://api.openweathermap.org/data/2.5/weather?q=${city}&units=metric&appid=${apiKey}`
2020
);
2121
console.log(res);
2222
if (!res.ok) {

0 commit comments

Comments
 (0)