Skip to content

Instantly share code, notes, and snippets.

@pramnora
Created September 29, 2019 19:24
Show Gist options
  • Save pramnora/7c2716dadfdf9512d64f62fc68669685 to your computer and use it in GitHub Desktop.
Save pramnora/7c2716dadfdf9512d64f62fc68669685 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/bugexaj
<!DOCTYPE html>
<html>
<!--created: SUN 290919 19:41 PM GMT
updated: SUN 290919 19:41 PM GMT-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script>
function add(x,y){
document.write(x + " + " + y + " = " + (x+y) + " (+2/+2/+4)<br>");
}
</script>
</head>
<body>
<p>n1+n2=n3 (hidden number progression series: n1+2/n2+2/n3+4)</p>
<script>
//this script shows a sucessive series of two numbers being added together;
//beginning with 1; next, adding a + 1 = 2...and, so on...;
//it also show each number series contains a 'hidden' progression steps of: +2/+2/+4...
for (var i = 1 ; i < 10 ; i += 2){
add(i,i+1);
}
</script>
</body>
</html>
@pramnora
Copy link
Author

I actually created this file using: jsbin.com. (NOTE: I signed into JSBin using my GitHub credentials). When I clicked on the file menu it offered me the option: Save as Gist...so, I thought I would try doing that...just to see what happened, next? Sure enough, it created this Gist on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment