Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // JavaScript Document
- var location = prompt("Where do you want to travel?");
- if (location=="")
- alert("Need text!");
- else
- alert("That's cool! NOT. " + location + " is not a good place to travel.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement