Skip to content

Commit 869e8bc

Browse files
authored
Update build-a-cafe-finder-with-javascript.mdx
1 parent d4dffb5 commit 869e8bc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

projects/build-a-cafe-finder-with-javascript/build-a-cafe-finder-with-javascript.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ versions: None
1313
tags:
1414
- intermediate
1515
- javascript
16+
courses:
17+
- html
18+
- css
19+
- javascript
1620
---
1721

1822
## Introduction
@@ -29,7 +33,7 @@ Some popular apps that use the Google Maps Platform include Uber and Airbnb, whi
2933

3034
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!
3135

32-
## Setup
36+
## Setting Up
3337

3438
### Workspace
3539

@@ -287,9 +291,9 @@ We'll need a fallback in case the cafe is already saved. Write an `else` stateme
287291
}
288292
```
289293
290-
To check what cafes we have saved, we'll make a function called `showSaved()`. Since all the cafe information isn't saved in HTML and card form, we need to pull the saved info from `localStorage` and use \***\*DOM manipulation\*\*** to create HTML elements like each cafe's image, name, and rating of the spot when prompted.
294+
To check what cafes we have saved, we'll make a function called `showSaved()`. Since all the cafe information isn't saved in HTML and card form, we need to pull the saved info from `localStorage` and use DOM manipulation to create HTML elements like each cafe's image, name, and rating of the spot when prompted.
291295
292-
DOM manipulation is a JavaScript process that changes a specific part of a webpage's content, style, or structure. In this case, we'll be inserting cafe information into `<div>` blocks onto your webpage.
296+
**DOM manipulation** is a JavaScript process that changes a specific part of a webpage's content, style, or structure. In this case, we'll be inserting cafe information into `<div>` blocks onto your webpage.
293297
294298
Start by writing a function called `showSaved()`. Similar to the `displayCards()` function, we'll make a container and leave the content blank to start.
295299

0 commit comments

Comments
 (0)