made with esnextbin
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
div.container | |
button.glow | |
a(href='https://gitter.im/FreeCodeCamp/FreeCodeCamp' target='_blank') #FreeCodeCamp | |
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
var gcd = function (a,b){ | |
if ( ! b) { | |
return a; | |
} | |
return gcd(b, a % b) | |
} | |
var lcm = function (i,j){ | |
return (i*j)/gcd(i,j); | |
} |
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
/(^1? ?\(?\d\d\d\)?[ -]?\d\d\d[ -]?\d\d\d\d)$/g; |
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
function drawer(price, cash, cid) { | |
var values = { | |
'ONE HUNDRED': 100, | |
'TWENTY': 20, | |
'TEN': 10, | |
'FIVE': 5, | |
'ONE': 1, | |
'QUARTER': 0.25, | |
'DIME': 0.1, |
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
/*-----------------------------------*\ | |
$HEADER | |
\*-----------------------------------*/ | |
.site__header { | |
-webkit-animation: bounceInUp 1s; | |
} | |
.site__title { | |
color: #f35626; |
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
function pairwise(arr, arg) { | |
var cloneArr = arr.slice(0); | |
return pair = cloneArr | |
.map(function(i) { | |
return arg-i; | |
}) | |
.map(function(i,index) { | |
var pairIndex = cloneArr.indexOf(i); | |
made with esnextbin
made with esnextbin
A fun experiment trying to simulate water drops splashing.
A Pen by Cristián Berríos on CodePen.
OlderNewer