Accessing JSON Data for Display

Today I have written a call to an API that uses Ajax (covered later in this module). The API will return JSON data from that GET request, and we will need to access the properties that represent information we want to add to our page. Understanding how to use your object data to populate content on a webpage is an important part of JavaScript development!

Search for a Definition

The form below will call to the Words API from the Rapid API Hub. If the word is not found, a message indicating that information should display, otherwise a list of the returned definitions should display.