how to make things happen to a page onload javascripy code example
Example: on load javascript
window.onload = (event) => {
console.log('page is fully loaded');
};
window.onload = (event) => {
console.log('page is fully loaded');
};