Write your first query
We'll be using Firestore. Just follow the instructions below.

  1. 1.
    Open up the Firestore docs in a new browser tab.
  2. 2.
    Scan the docs, especially the "Get a document" section.
  3. 3.
    Open another tab and go to Glitch.com.
  4. 4.
    Create a Glitch.com account and click around a bit to get comfortable.
  5. 5.
    Visit the Glitch project for this challenge, coordinated-freighter
  6. 6.
    Look over the code in index.html and read the comments.
  7. 7.
    Try to query the star-wars-people collection inside the getPeople() function

  1. 1.
    Click the "Show" button on your glitch to pop open a preview of your page.
  2. 3.
    Navigate to the Console tab in DevTools to view your JavaScript output

  1. 1.
    Reference the Firestore docs as necessary
  2. 2.
    Check out the solution in complete.html and watch the solution video!
Copy link
On this page
Instructions
Check out your results
If you get stuck...