
Submitted by David Hall on Wed, 11/05/2014 - 08:57
Multiple choice question
Why should Javascript always be loaded as an external file, rather than presented in-line within the source code of a webpage?
a. Because browsers will load all HTML before loading external files and therefore the page will load faster. | |
b. Because Javascript takes longer to load than HTML and browsers are capable of loading multiple elements on the page simultaneously. | |
c. Javascript should only be externalized if using a CDN. | |
d. Javascript should not be externalized because in-line Javascript is loaded faster than externalized Javascript. |
Leave a comment