The child_moved event is triggered when you're working with ordered data like drag and drop in list items.
Now, let's take quick look at our full code:
<!doctype html><html class="no-js" lang=""><head><meta charset="utf-8"><title>Chapter 1</title><script src="</span>https://www.gstatic.com/firebasejs/4.6.1/firebase.js"></script></head><body><!--[if lt IE 8]><p class="browserupgrade">You are using an<strong>outdated</strong> browser.Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve yourexperience.</p><![endif]--><!-- Add your site or application content here --><p id="message">Hello world! This is HTML5 Boilerplate.</p><script>// Initialize Firebasevar config = { apiKey: "<PROJECT API KEY>", authDomain: ...