Quote:
Originally posted by Radar
Based on your information I thought I could input a string and have it printed on the screen. Just like the old "Hello World" program but with the text inputted by a user. The problem is while it seemingly inputs text, there is no output.
|
You're very close... try this:
Code:
var noun = prompt("Enter a noun", "dog");
document.write(noun);