About JavaScript Script tag execution order

Browser parse html line by line, when it reaches the script tag it stops rendering, at that moment, downloads the JavaScript, parses it, executes and continues the html parsing. This behavior, scratch that, this might not be intended behavior that you want to see. Because the waiting period of JS downloading, execution might be in […]