Here's the location endpoint we used in this video:
const LOCATION_ENDPOINT = "[ Ссылка ]"
Have you always wanted to learn how to make a Chrome Extension? In this video tutorial series, we'll build a chrome extension together that uses notifications, reading and saving data, making API calls, and much more!
In this video, we explore the Chrome lifecycle and how to fire API calls and save that data. We then take that API fetched data and dynamically populate the drop-down menu.
Remember to like and subscribe so you can get notifications when a new video is uploaded!
Github source code: [ Ссылка ]
Chapters:
00:00 Intro
01:00 Lifecycle
03:00 Creating our first API call
04:30 Importing our API function into the background.js file
06:25 Sorting the API data alphabetically
06:50 Saving the API data locally
07:18 Retrieving the saved API data
08:00 Creating dynamic options in the drop-down menu
10:38 Getting the selected location from the drop-down and saving it
Ещё видео!