Saturday, 30 December 2017

How do I get my index file to recognize an included javascript file

So im running through demos and I think i missed something. In my index file I had the line And it works just fine. Now im trying to move the javascript to a file that I will include using the line Then in the main.js window.alert("sometext"); But for some reason Im not getting the pop up. What did i miss?

Submitted December 30, 2017 at 11:03PM by wobmonsta

No comments:

Post a Comment