1. DOMContentLoaded

    JavaScript event that fires when the DOM is loaded, but before all page assets are loaded (CSS, images, etc.).