Skip to content

Instantly share code, notes, and snippets.

View rivaadara111's full-sized avatar

Riva's student github rivaadara111

  • Vancouver, BC, Canada
View GitHub Profile
//SORTS ITEMS USING ANIMATION LIBRARY
$(window).load(function() {
var box = $('.box'),
boxContainer = $('.boxes'),
section = $('.sort-section'),
containerHeight = $('.adjustable-height'),
boxClassFilter,
showThese;
@rivaadara111
rivaadara111 / javascript basics examples.js
Created January 28, 2016 18:39
javascript basics examples
// expressions----------------------->
var mathResult = 1*10 + (200 / 3);
// an expression uses operators to give you a return value
//statement
if(false === true){
console.log('WTF');
}
else{
@rivaadara111
rivaadara111 / Flexbox corners.css
Created January 26, 2016 21:37
Using Flexbox to get divs in 4 corners
/**
* Base styles to get us started...
*/
.container {
background-color: black;
box-sizing: border-box;
text-align: center;
}
.item {
@rivaadara111
rivaadara111 / 0_reuse_code.js
Created January 26, 2016 21:34
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console