A Pen by Razafindrakoto on CodePen.
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
<div class="row"> | |
<div id="content"></div> | |
</div> |
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
<div class="heart"></div> | |
<div class="penguin"> | |
<div class="penguin-bottom"> | |
<div class="right-hand"></div> | |
<div class="left-hand"></div> | |
<div class="right-feet"></div> | |
<div class="left-feet"></div> | |
</div> | |
<div class="penguin-top"> | |
<div class="right-cheek"></div> |
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
<div class="background background1"> | |
<div>Some content</div> | |
</div> | |
<div class="background background2"> | |
<div>A Second Page</div> | |
</div> | |
<div class="background background3"> | |
<div>A Third Page</div> | |
</div> |
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
<div class="sun"> | |
<svg class="eclipse-container" viewBox="0 0 100 100"> | |
<circle class="eclipse" cx="50" cy="50" r="49" transform="rotate(-90 50 50)" /> | |
</svg> | |
</div> |
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
<?php | |
$date = "2018-02-01"; | |
echo date('Y-m-d', strtotime($date. ' + 27 days')); | |
echo "|"; | |
echo date('Y-m-d', strtotime($date. ' + 28 days')); | |
echo "|"; | |
echo date('Y-m-d', strtotime($date. ' + 29 days')); | |
?> |
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
var i; | |
var p = 100; | |
var fib = []; // Initialize array! | |
fib[0] = 0; | |
fib[1] = 1; | |
for(i=2; i<=p; i++) | |
{ | |
// Next fibonacci number = previous + one before previous | |
// Translated to JavaScript: |
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 rot13(str) { // LBH QVQ VG! | |
var res = []; | |
for(var i=0; i<str.length; i++){ | |
if(str[i] !== " " && str[i] !== "!" && str[i] !== "?" && str[i] !== "." && str[i] !== ","){ | |
var code = (str.charCodeAt(i) + 13); | |
if(code > 90){ | |
code = code - 26; | |
} | |
//(c <= "Z" ? 90 : 122) >= (c = c.charCodeAt(0) + 13) ? c : c - 26); | |
res.push(String.fromCharCode(code)); |
Search wikipedia by clicking on the search icon, providing your search and press return.
Forked from Geoff Storbeck's Pen Wikipedia Search.
Forked from Free Code Camp's Pen Wikipedia Search.
A Pen by Razafindrakoto on CodePen.
Forked from awalthefirst's Pen Free Code Camp Weather App.
Forked from Free Code Camp's Pen Free Code Camp Weather App.
A Pen by Razafindrakoto on CodePen.