This video demonstrates how to query an API with input from the user. In other words, the user types in a city to a text input field and the JavaScript program asks the API for the weather in the city and shows it back to the user.

All examples:


Next video:

JavaScript basics:

HTML/CSS basics:

Full Data playlist:

Help us caption & translate this video!