We'll be using Firestore. Just follow the instructions below.
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 the getPeople()
function
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
Reference the Firestore docs as necessary
Check out the solution in complete.html
and watch the solution video!