dom is loaded

JavaScript
document.addEventListener('DOMContentLoaded', (event) => {
    console.log('DOM fully loaded and parsed');
});
Source

Also in JavaScript: