A Pen by Adegbuyi Ademola Oluwamayowa on CodePen.
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 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 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 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 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 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 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) |
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
<head> | |
<title>My App</title> | |
</head> | |
<body> | |
<div class="app"></div> <!-- We use class here because we're not in the react environment, so don't mix things up --> | |
</body> |
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
// Grab the react and react-dom pkg | |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
// Write an App Component | |
const App = () => { | |
return ( | |
<div> Hello World! </div> | |
); | |
}; |
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
// Grab the react and react-dom pkgs --> | |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
// Grab Router, Route and browserHistory from react-router -> | |
import { Router, Route, IndexRoute, browserHistory } from 'react-router'; | |
// Grab Navigation component --> | |
import Navigation from '../components/navigation'; |
OlderNewer