function to do when the html done loading code example
Example: function to do when the html done loading
window.addEventListener('load', function () {
alert("It's loaded!")
})
window.addEventListener('load', function () {
alert("It's loaded!")
})