date
content
Apparently you can’t use window.onload() in multiple Javascript files. Instead of that, we can just use the load or DOMContentLoaded event and create a listener for that to run the function. I used this as a reference.
function base_onload() {
blink = document.getElementById('blink');
header = document.getElementById("header");
progress = document.querySelector('#progress');
h = document.documentElement;
b = document.body;
};
window.addEventListener('DOMContentLoaded', base_onload);
2023-04-29
this is a sample snippet