Skip to content

Instantly share code, notes, and snippets.

View TRobWE's full-sized avatar

Taijon Robinson TRobWE

View GitHub Profile
@TRobWE
TRobWE / jsbin.tocibiv.js
Created April 24, 2017 22:27
Control flow: if, else-if, elseControl flow: if, else-if, else// source https://jsbin.com/tocibiv
/*
* CONTROL FLOW:
*
* 0. Control flow is the idea of making decisions in code through the careful
* use of booleans. We can ask our code a question and how a course of action
* laidout for the 2-3 possible answers given such a situation.
* My tools of choice for control flow are if, elseif, else statements.
* In each statement it boils down to which statement will come true? So that
* the code linked to the statement may run. Again I'll be sharing examples
* of some of my work I've completed related to the study.
@TRobWE
TRobWE / index.html
Last active April 24, 2017 22:14
VariablesVariables// source https://jsbin.com/racafe
We couldn’t find that file to show.
@TRobWE
TRobWE / jsbin.qiyimuk.js
Created January 17, 2017 15:48 — forked from anonymous/index.html
FunctionsFunctions: programs within programs!// source https://jsbin.com/qiyimuk
/*
* FUNCTIONS:
*
* Now for a more in-depth study into Javascript functions! We'll start off
* be naming the two phases of using functions. If this two phases talk sounds familiar
* that's because it is variables, our first study also has to phases of use.
* For functions those two phases are declaration, the process of creating the function,
* and invocation, the process of calling or actually using the function. Now, I'll share
* with you the difference between a function's parameters and arguments.
* The parameters of a function are the required inputs decided at the time of
@TRobWE
TRobWE / jsbin.tocibiv.js
Last active January 17, 2017 14:51 — forked from anonymous/index.html
Control flow: if, else-if, elseControl flow: if, else-if, else// source https://jsbin.com/tocibiv
/*
* CONTROL FLOW:
*
* 0. Control flow is the idea of making decisions in code through the careful
* use of booleans. We can ask our code a question and how a course of action
* laidout for the 2-3 possible answers given such a situation.
* My tools of choice for control flow are if, elseif, else statements.
* In each statement it boils down to which statement will come true? So that
* the code linked to the statement may run. Again I'll be sharing examples
* of some of my work I've completed related to the study.
@TRobWE
TRobWE / jsbin.ligowor.js
Last active January 17, 2017 14:29 — forked from anonymous/index.html
Loops: while, for, for-inLoops: while, for, for-in// source https://jsbin.com/ligowor
/*
* LOOPS:
*
* 0. Loops are features of Javascript that allow us to execute a block of code
* without calling it multiple times. We can run these loops as many times as we need.
* Loops are commonly used to pull or search for data in a data collection
* like a object or array. For loops are great for arrays! For in loops are great
* for objects. And I'm sure someone, somewhere uses while loops in Javascript.
*/
@TRobWE
TRobWE / jsbin.ticegu.js
Created January 17, 2017 13:38 — forked from anonymous/index.html
String ManipulationString Manipulation// source https://jsbin.com/ticegu
/*
* STRING MANIPULATION:
*
* 0. There is a number of ways to manipulate strings in Javascript! To help
* show you a few I'll be showing examples of functions I've made that showcase
* string manipulation. One thing to note is that strings can be treated like an
* for the purpose bracket notation and using the property .length.
* Concatenation is another useful way to manipulate strings.
* By using the addition operator you can combine/concatenate strings.
*/
@TRobWE
TRobWE / jsbin.vuqoyih.js
Created January 17, 2017 13:03 — forked from anonymous/index.html
OperatorsOperators// source https://jsbin.com/vuqoyih
/*
* OPERATORS:
*
* 0. Operators in Javascript are what we use to pass actions, assign, add, subtract, multiply,
* divide, compare, and even more to our data. I'll be giving an overview of 6 types of operators.
* Each of the six operators differ from one another by what they do and how many operands they
* require. In Javascript operands are the values the operators are passing actions onto.
* Our operators are assignment, arithmetic, comparison, logical, binary, and turnary.
*/
@TRobWE
TRobWE / jsbin.lumuxop.js
Last active January 17, 2017 10:58 — forked from anonymous/index.html
Datatypesdatatypes// source https://jsbin.com/lumuxop
/*
* DATATYPES:
*
* 0. A datatype in Javascript is a type of value. There are two categories of these types of values
* in Javascript. One is Simple/Primitive and the other is Complex. Simple datatypes consist of
* numbers, strings, booleans, NaN, undefined, and null. Complex datatypes consist of objects,
* arrays, and functions.
*/
//1. Number//
@TRobWE
TRobWE / jsbin.racafe.js
Last active January 15, 2017 18:52 — forked from anonymous/index.html
VariablesVariables// source https://jsbin.com/racafe
/*
* VARIABLES:
*
* 0. To hold things in memory during the life-cycle of a program, we can use variables. Variables
* are named identifiers that can point to values of a particular type, like a Number, String,
* Boolean, Array, Object or another data-type. Variables are called so because once created, we
* can CHANGE the value (and type of value) to which they point.
*
* 1. To create a variable we use the keyword, var, followed by a name (id or alias) for our
* variable.