In this tutorial, we use the OpenWeatherMap API to fetch weather data with JavaScript. We look at where to find your API key, send a request using fetch(), display the raw XML response, and parse it to show the temperature.
Continue with Bonus Workshop 8: add humidity and cloudiness, then make the city dropdown and search field work. You can use this example as a starting point for your Project 2 application.