A Pen by Adegbuyi Ademola Oluwamayowa 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="navbar navbar-inverse navbar-static-top" id="mynavbar"> | |
<div class="container"> | |
<div class="navbar-header"> | |
<a class="navbar-brand"><b>Random Quotes</b></a> | |
</div> | |
</div> | |
</div> | |
<div class="container"> <!--Body Container --> | |
<section> |
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
<body onload="getLocation()"> | |
<div class="container text-center"> | |
<h2>Free Code Camp Zipline</h2> | |
<h2>Local Weather App</h2> | |
<h2><span class="temp-icon"></span> <span class="temp-unit"></span></h2> | |
<div class='btn-group'> | |
<button class='btn btn-success ft'>Fahrenheit</button> | |
<button class='btn btn-success kt'>Kelvin</button> | |
<button class='btn btn-success ct'>Celcius</button> |
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="container-fluid"> | |
<div class="logo text-center">Pomodoro Clock</div> | |
<div class="row" style="margin-top:40px"> | |
<div class="col-xs-4"></div> | |
<div class="col-xs-2 options text-center"> | |
Session | |
<span class="session"><br/> | |
<span class="fa fa-minus sm"></span> | |
<span class="session-data"> 25 </span> | |
<span class="fa fa-plus sp"></span> |
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="navbar navbar-default navbar-static-top" id="mynavbar"> | |
<div class="container"> | |
<div class="navbar-header"> | |
<span class="navbar-brand"> | |
<span class="fa fa-calculator"></span> | |
Calculator | |
</span> | |
</div> | |
</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="navbar navbar-default navbar-static-top" id="mynavbar"> | |
<div class="container"> | |
<div class="navbar-header"> | |
<span class="navbar-brand">TicTacToe</span> | |
</div> | |
</div> | |
</div> | |
<div class="container" style="margin-top:20px"> | |
<div class="row"> |
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 x = 0, y = 1; | |
while (factors(x).length <= 500) { | |
x += y; | |
y++; | |
} | |
console.log(x); | |
function factors(n) { |
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
/* Placed On Hackerrank */ | |
function processData(input) { | |
let grid = []; | |
for (let num of input.split('\n')) { | |
grid.push(num.split(' ')); | |
} | |
let g = 0; |
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
const num = | |
"37107287533902102798797998220837590246510135740250\n" + | |
"46376937677490009712648124896970078050417018260538\n" + | |
"74324986199524741059474233309513058123726617309629\n" + | |
"91942213363574161572522430563301811072406154908250\n" + | |
"23067588207539346171171980310421047513778063246676\n" + | |
"89261670696623633820136378418383684178734361726757\n" + | |
"28112879812849979408065481931592621691275889832738\n" + | |
"44274228917432520321923589422876796487670272189318\n" + | |
"47451445736001306439091167216856844588711603153276\n" + |
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(){function t(t,a){return{type:"Feature",id:t.id,properties:t.properties,geometry:n(t.geometry,a)}}function n(t,a){if(!t)return null;if("GeometryCollection"===t.type)return{type:"GeometryCollection",geometries:object.geometries.map(function(t){return n(t,a)})};if(!la.hasOwnProperty(t.type))return null;var r=la[t.type];return d3.geo.stream(t,a(r)),r.result()}function a(){}function r(t){if((n=t.length)<4)return!1;for(var n,a=0,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++a<n;)r+=t[a-1][1]*t[a][0]-t[a-1][0]*t[a][1];return 0>=r}function e(t,n){for(var a=n[0],r=n[1],e=!1,o=0,i=t.length,h=i-1;i>o;h=o++){var u=t[o],M=u[0],s=u[1],c=t[h],f=c[0],v=c[1];s>r^v>r&&(f-M)*(r-s)/(v-s)+M>a&&(e=!e)}return e}function o(t){return t?t/Math.sin(t):1}function i(t){return t>0?1:0>t?-1:0}function h(t){return t>1?pa:-1>t?-pa:Math.asin(t)}function u(t){return t>1?0:-1>t?ba:Math.acos(t)}function M(t){return t>0?Math.sqrt(t):0}function s(t){function n(t,n){var a=Math.cos(t),e=Math.cos(n),o=Math.sin(n),i=e*a,h=-((1-i?Math.log(.5*(1+i) |
OlderNewer