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
let allPeople = [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; | |
let groupA = allPeople.slice(0, 4); | |
let groupB = allPeople.slice(4, 8); | |
let groupC = allPeople.slice(8, 12); | |
seeSawOne = weightDifference(groupA, groupB); | |
console.log("seeSawOne", seeSawOne); | |
if (seeSawOne === 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
<canvas id="canvas"></canvas> |
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
<!-- | |
ThreeJs custom waves | |
Original script by ThreeJS : https://threejs.org/examples/canvas_particles_waves.html | |
Modified version for Cloudoru by Kevin Rajaram : http://kevinrajaram.com | |
Date: 08/14/2014 | |
--> | |
<h1>A little something for a site I'm working on. Made with the threejs library.</h1> |
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
<style> | |
@media screen and (min-width: 768px){ | |
.slide-image { | |
overflow: hidden; | |
position: relative; | |
display:block; | |
height:260px; | |
line-height:200px; | |
} | |
.slide-image img { |
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
{"lastUpload":"2017-12-05T06:15:22.050Z","extensionVersion":"v2.8.6"} |
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. createClass | |
import React from 'react' | |
export const SkiDayCount = React.createClass({}); | |
2. ES6 class | |
import {Component} from 'react' | |
export class SkiDayCount extends Component{} | |