Use this page as a test for refactoring your JavaScript into a more modular page.
Fork the Pen then try to convert the code into a single object called app.
Once that works, try to refactor the code again to use "use strict"; and the FETCH API instead of XMLHttpRequest
XMLHttpRequest reference - https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#XMLHttpRequest()
Fetch API primer - https://davidwalsh.name/fetch
Loading JSON data...