examples of JavaScript OnLoad event Example: on load javascript window.onload = (event) => { console.log('page is fully loaded'); };