Here are my notes on the following chapters:
Note
|
The 2nd half is completely unrelated to the 1st half. I suggest you begin with the 2nd half just so that it will give you a better understanding of JavaScript and Promises. |
Lesson 1 : Creating Promises
Here’s how to use snippet in devtools:
-
A: Here’s how to find it. Chrome devtools > Sources > Snippet
-
B: Here is where you create a New snippet. You can right click and click New and you can also just click on + New snippet
-
C: When you right click the file, you can run, rename, remove, and save it on your disk.+
-
D: Here is where the JavaScript code will be in.
-
E: To run the code, right click the file at C and select run, select Evaluate in console. Be sure to save the file first. ctrl s.
-
F: Here is where snippet shines over the rest. You can see the detail of the code in devtool’s console.