// scripts/app.js -- FINAL VERSION import { initUI } from './ui.js'; import { initChat } from './chat.js'; import { initVideo } from './video.js'; // This event listener ensures that all HTML is loaded before we try to run our code. document.addEventListener('DOMContentLoaded', () => { // Initialize all the separate parts of our application. initUI(); initChat(); initVideo(); });