Created
September 29, 2019 19:24
-
-
Save pramnora/7c2716dadfdf9512d64f62fc68669685 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/bugexaj
This file contains 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> | |
<!--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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.