window.addEventListener('DOMContentLoaded', (event) => {
console.log('DOM fully loaded and parsed');
});
window.addEventListener('DOMContentLoaded', (event) => {
});
// initialize the function "init" when the page completely loads
document.addEventListener('DOMContentLoaded', init);
function init() {
console.log('The page successfully loaded!');
}