Created
December 11, 2014 19:51
-
-
Save stormsweeper/ed73a524835d5be564d3 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/kaquci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
function sayHello() { | |
var name = window.prompt("What's your name?"); | |
window.alert("Hello, " + name + "!"); | |
} | |
sayHello(); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">function sayHello() { | |
var name = window.prompt("What's your name?"); | |
window.alert("Hello, " + name + "!"); | |
} | |
sayHello();</script></body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sayHello() { | |
var name = window.prompt("What's your name?"); | |
window.alert("Hello, " + name + "!"); | |
} | |
sayHello(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment