Week 4 - Async functions
Learning Objectives:
In this week of the course, you will learn
- The JavaScript Event Handler Model
- Programming with Promises
- Programming with Async and Await
- Building a web client with async and await
Important Dates:
- HW2 Due Feb 19 by 10pm
Lessons:
4.1: The JavaScript Event Handler Model
4.2: Async and Await
4.3: Writing a web client with async and await
Resources
- Examples for Lessons 4.1 and 4.2
- Server for Lesson 4.3
- Client for Lesson 4.3
- In-class slides from Prof. Bell’s section (Monday): PDF, PPT, Keynote, Activity Handout (Professor Wand says: these are a nice complement to Lessons 4.1-4.3. You should read them even if you are not in Prof. Bell’s section.)
- In class slides from Prof Bell’s section (Thursday): PDF, PPT, Keynote, Activity Handout, Activity with solutions (Prof. Wand says: these activities are really good. You should try them even if you are not in Prof. Bell’s section. Try to do them without looking at the solutions.)
- In-class slides from Prof. Wand’s section (Thursday): PDF, PPT
- In-class Examples from Prof. Wand’s section (Thursday) ZIP