Jump to content

SuperNewbie=Javascript Wont Run Except...


rtrahan

Recommended Posts

Well I have a few questons but I'll start with this one. These are on my laptop and not on a server. I have 3 web pages, plus 1 external css page, 1 external .js page, no scripts run from the external .js. All the pages are in the same folder.

 

Here's the call to the css and .js pages and the javascript code:

 

and the script code on the .js page:

 

var name = prompt(What is your name?', '');

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...