L08 – Asynchronous programming


Asynchronous programming, JSON, Ajax, await/async, promises, fetch.


How to work with JavaScript in the browser and fetching data from external servers using asynchronous HTTP requests.


The session for L07 and L08 was combined in a 2 hour lecture held on Zoom. An example repo was used with code samples and a slide presentation was held. There were 2 recordings of 50 + 48 minutes.

In L07 Mikael talks about A02 part 2 and shows how to build JavaScript applications using Snowpack and how to create ES modules and ES6 classes.

In L08 Mikael shows how to do requests to a REST server and deal with the responses. It deals with the Fetch API, asynchronous programming and JSON.

The videos L07 and L08 are found in this playlist on YouTube.

The slides L07-08-JavaScript-module.html is available in its repo.

The slides can be viewed online.

The example repo can be cloned from its origin.

  1. In the (free online) book "JavaScript for impatient programmers", review the following chapters.

Resources from previous course rounds

External resources

Welcome to CoursePress

en utav Linnéuniversitets lärplattformar. Som inloggad student kan du kommunicera, hålla koll på dina kurser och mycket mer. Du som är gäst kan nå de flesta kurser och dess innehåll utan att logga in.

Läs mer lärplattformar vid Linnéuniversitetet

Student account

To log in you need a student account at Linnaeus University.

Read more about collecting your account

Log in LNU