# Introduction: callbacks ```warn header="We use browser methods here" To demonstrate the use of callbacks, promises and other abstract concepts, we'll be using some browser methods; specifically, loading scripts and performing simple document manipulations. If you're not familiar with these methods, and their usage in the examples is confusing, or if you would just like to understand them better, you may want to read a few chapters from the [next part](/document) of the tutorial. ``` Many actions in JavaScript are *asynchronous*. In other words, we initiate them now, but they finish later. For instance, we can schedule such actions using `setTimeout`. There are other real-world examples of asynchronous actions, e.g. loading scripts and modules (we'll cover them in later chapters). Take a look at the function `loadScript(src)`, that loads a script with the given `src`: ```js function loadScript(src) { let script = document.createElement('script'); script.src = src; document.head.append(script); } ``` It appends to the document the new, dynamically created, tag `