cwbuecheler Callback Tutorial Example 2
Mixing up the order of our sequential code also mixes up the order of our output.
by cwbuecheler
HTML
<body>
<p id="output"></p>
</body>
JavaScript
document.getElementById('output').innerHTML += ('starting ...');
document.getElementById('output').innerHTML += ('ending!');
document.getElementById('output').innerHTML += ('continuing ...');