Help with simple HTML JS linkage

I an experienced programmer, but just getting started with Java Script.

What's wrong with this simple HTML + JS code linkage?
I tried using a full path name to the hereGoes.js file. That didn't work.

Simple.html file:-----------------------------
               This should work.
               <script type="text/javascript" src="hereGoes.js"></script>

Simple hereGoes.js file------------------------------------

function show_alert()
alert("Hello! I am an alert box!");


I'm sorry, but we does not offer help on questions not related directly to our products.
Try some JS tutorial, developer forums, or specialized "Q/A" resources such as


I am using WebStorm 1.0 (!!)

I've searched and studied many JS references and tutorials.
As far as I can tell it is correct.

If you can't answer this simple question,
(due to some corporate policy),
maybe someone else can.


There's nothing related in specifically to IDE in your question.
And if you started to learn JS - there's a lot of better places to consult.

This is not a policy but a common sence: this is just not the proper place.


Please sign in to leave a comment.