Different ways to load JavaScript in HTML
Regular Script Loading Inside of the head tag
The browser fetches and executes the script before parsing the HTML body, which means that the script may run before the HTML content has been fully loaded.
Manipulating the DOM in the script can lead t...
spectrasonic.hashnode.dev1 min read