Asynchronous JavaScript
How does JS handle asynchronous code?
Questions to consider
What's the difference between "synchronous" and "asynchronous" code? Why might synchronous code be called "blocking"?
What are the event loop and the call stack?
How do callbacks and promises help us?
Useful resources
These resources are helpful extra reading that may clarify or enhance concepts you're learning in the main curriculum.
A comic explaining what happens when you type a URL into your browser.
Describes the HTTP protocol in a lot more detail. May be useful if you like learning exactly how stuff works under-the-hood, but may also be overwhelming.
How functions and callbacks work in JavaScript. Based on a workshop from this week's curriculum.
Last updated