Write your first query
We'll be using Firestore. Just follow the instructions below.
Instructions
Open up the Firestore docs in a new browser tab.
Scan the docs, especially the "Get a document" section.
Open another tab and go to Glitch.com.
Create a Glitch.com account and click around a bit to get comfortable.
Visit the Glitch project for this challenge, coordinated-freighter
Look over the code in
index.html
and read the comments.Try to query the
star-wars-people
collection inside thegetPeople()
function
Check out your results
Click the "Show" button on your glitch to pop open a preview of your page.
Navigate to the Console tab in DevTools to view your JavaScript output
If you get stuck...
Reference the Firestore docs as necessary
Check out the solution in
complete.html
and watch the solution video!
Last updated