You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [Places API](https://developers.google.com/maps/documentation/places/web-service/overview) is a smaller API under the Google Maps API. It fetches location data like location names, addresses, photos, and many more attributes! It's a great tool for accessing updated data and finding multiple places without manually copying all of their information into a project. ****We'll be using this in our project!****
52
+
The [Places API](https://developers.google.com/maps/documentation/places/web-service/overview) is a smaller API under the Google Maps API. It fetches location data like location names, addresses, photos, and many more attributes! It's a great tool for accessing updated data and finding multiple places without manually copying all of their information into a project. We'll be using this in our project!
Head to [https://cors-anywhere.herokuapp.com/](https://cors-anywhere.herokuapp.com/). Make sure to click on the ``Request temporary access to the demo server`` button to get set up with a temporary server for your project.
103
+
Head to [https://cors-anywhere.herokuapp.com](https://cors-anywhere.herokuapp.com/). Make sure to click on the ``Request temporary access to the demo server`` button to get set up with a temporary server for your project.
104
104
105
105
Then, add these lines to the top of your JavaScript file.
[Hammer](http://hammerjs.github.io/) is a library used to recognize touch gestures in the browser!
253
253
254
-
<aside>
255
-
💡
256
-
257
-
A **library** is a collection of reusable resources like functions, classes, and pieces of pre-written code. An **API** is an interface that lets your code communicate with another application.
258
-
259
-
</aside>
254
+
💡 A **library** is a collection of reusable resources like functions, classes, and pieces of pre-written code. An **API** is an interface that lets your code communicate with another application.
260
255
261
256
To make sure we have swiping gestures detected on the site, we're gonna import the library by adding this line in the ``<head>`` of your HTML file:
262
257
@@ -377,7 +372,7 @@ If you're looking for another challenge or a way to spice up your project, you c
377
372
378
373
### Troubleshooting
379
374
380
-
- Make sure you're granted temporary access on https://cors-anywhere.herokuapp.com/.
375
+
- Make sure you're granted temporary access on https://cors-anywhere.herokuapp.com.
381
376
- Make sure to allow location access when you try out the site.
0 commit comments