This Glitch project demonstrates how AJAX works using the Fetch API and the OpenWeather API
You are going to need a API key from Open Weather because I don't want to share mine.