Skip to content

Commit f60dcc3

Browse files
committed
api
1 parent 8d274c5 commit f60dcc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

05_weather-app/script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ search.addEventListener('click', () => {
1313
if (city == '') {
1414
return;
1515
}
16+
fetch(`https://api.openweathermap.org/data/2.5/weather?lat={lat}&lon={lon}&appid={f23d9832cb86b7e516bf0bc3272bf1de}`)
1617
})

0 commit comments

Comments
 (0)