Event Binding for Initialization

In app.js let's add the following event handler:

window.addEventListener("DOMContentLoaded", () => {
    console.log("DOM is ready");
});