by captnasia · 9y ago · 0 comments
// These two containers are siblings in the DOM
const appContainer = document.getElementById('app-container');
const modalContainer = document.getElementById('app-container');
Note that both variables refer to the same element.