I was reading a tutorial and the author mentioned to include Javascript files near closing body tag (
body
) in HTML.
I was wonderi
I like to load a small js file in the head, that handles (1) anything that happens before the page is rendered and (2) the loading of other script files after the page loads, or as needed.