Put in order · JavaScript and React course · Module 11: Data Fetching and APIs

Fetch Query Syntax with async/await

Arrange the async/await syntax to fetch JSON data from an API:

Items to put in order

  • ;
  • await
  • const data =
  • response.json()

You can check the correct answer by solving this task in the CodeWorlds game.