# Introduction: callbacks ```warn header="We use browser methods here" To demonstrate the use of callbacks, promises and other abstract concepts, we'll use browser methods. Namely, load scripts and perform simple document manipulations. If you're not familiar with them, please read few chapters from the [next part](/document) of the tutorial. Or, hopefully, examples will be clear for you even without that. ``` 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 `