morggoth
11/23/2014 - 12:32 AM

// source http://jsbin.com/xokomakuca

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>

<script id="jsbin-javascript">
var theNumber = (prompt("Choose a number", ""));
if (!isNaN(theNumber))
  alert("Your number is sqrt of " + theNumber * theNumber);
</script>



<script id="jsbin-source-javascript" type="text/javascript">var theNumber = (prompt("Choose a number", ""));
if (!isNaN(theNumber))
  alert("Your number is sqrt of " + theNumber * theNumber);</script></body>
</html>
var theNumber = (prompt("Choose a number", ""));
if (!isNaN(theNumber))
  alert("Your number is sqrt of " + theNumber * theNumber);