js loader code example
Example 1: load js
// Log a message when the page is fully loaded:
window.addEventListener('load', (event) => {
console.log('page is fully loaded');
});
Example 2: load js
window.addEventListener('load', (event) => {
console.log('page is fully loaded');
});