display weather javascript

Solutions on MaxInterview for display weather javascript by the best coders in the world

showing results for - "display weather javascript"
Naomie
05 Nov 2019
1// Full tutorial: https://www.youtube.com/watch?v=WZNG8UomjSI
2
3fetch(
4  "https://api.openweathermap.org/data/2.5/weather?q=" +
5    city +
6    "&units=metric&appid=" +
7    apiKey
8)
9  .then((response) => response.json())
10  .then((data) => this.displayWeather(data));