Overview - Google Forms, Loops, and APIs¶
Adding the data from our survey into our mapplication!

Goals
- Create a Google Form with meaningful questions
- Embed a Google Form into a website using an iFrame
- Implement a trigger for geocoding “location” data in Google Sheets
- Understand what an API
- Replace our
fetchGeoJSON with data from a Google Sheet usingpapa parse - Learn to use
for-loopsin JavaScript
Lab outline¶
- Creating a Google Form
- Refactoring our JavaScript and CSS
- Geocoding with Google Sheets
- Connecting to our Google Sheet with
papa parse - Looping through our data and adding it to our map
Start by creating a week5 folder in your lab assignments repo.
Get ahead start
You can also copy the contents of your Lab Assignment’s week3 folder and skip the following setup section.