What is the difference between synchronous and asynchronous functions?
synchronous does everything in the order they come.
asynchronous can pause one task to continue with another.
What is callback hell?
Very complex operations producing many levels and sub-levels in your programming.
Which technique can help us solve callback hell?
In the browser we can use promise library, which is shipped with jQuery.
Promise enables us to chain callbacks and deal with errors.