Write your first query
Last updated
Last updated
We'll be using Firestore. Just follow the instructions below.
Open up 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,
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 tab in DevTools to view your JavaScript output
Reference as necessary
Check out the solution in complete.html
and watch the solution video!