I\'m trying to use an external JavaScript file in order to write \"Hello World\" into a HTML page.
However for some reason it does not work, I tried the same functio
You're trying to call the function before it has been loaded.
Place the load script above the declaration:
Also you have a typo:
Should be:
The script type needs to be "text/javascript" not "txt/javascript".