From 32f4eae1d144fe583ce1b969d1d0f07f69237e54 Mon Sep 17 00:00:00 2001 From: "Ruthie (they/them)" <102179075+mx-ruthie@users.noreply.github.com> Date: Wed, 15 Feb 2023 19:44:26 -0600 Subject: [PATCH] Update javascript-9-async.md removes projected time, adds weekly questions --- javascript/javascript-9-async.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/javascript/javascript-9-async.md b/javascript/javascript-9-async.md index b24c985e1..61d775cf3 100644 --- a/javascript/javascript-9-async.md +++ b/javascript/javascript-9-async.md @@ -1,13 +1,13 @@ # JavaScript 9 - Async, Callbacks, Promises -### Projected Time +### Week 6 Keywords and Questions -About 1 to 2 hours +- What is a callback function? +- Why do we use callbacks? +- How many things can be returned from a callback? +- How do I get data out of a callback? +- Define a promise in your own words. -- 15 minutes for Lesson -- 30 minutes for Demonstration -- 50 minutes for Independent Practice -- 10 minutes for Checking Understanding ### Prerequisites @@ -174,10 +174,6 @@ Play around in your favorite browser's dev console using the fetch method to und - Look at the object returned by creating a promise. What properties does it have? Look for its `status`. - Check its `status` again, has it changed? -### Check for Understanding - -- Why do we use callbacks? -- Define a promise in your own words. ### Supplemental Materials