json - working with data and api's in javascript
1: fetch() with image, CSV, JSON.
1a: fetch().
What is fetch()?
Fetch API
Promises, async and await
Body - Web APIs
DOM element
1b: Tabular Data.
Parsing CSV with split() Line chart with chart.js
1c: JSON Data from API.
load JSON data with fetch() and update DOM element. Add map to page with Leaflet.js and place ISS location as marker. Updating location continuously with setInterval().
Objectives.
Learn fetch() for GET requests with Promises and async/await See loading data from local image / JSON / CSV Learn to "render" data with native JS DOM manipulation Discover missing pieces: no persistence, API keys not hidden