Skip to content

Instantly share code, notes, and snippets.

View revisualize's full-sized avatar

Joseph revisualize

  • Seattle, Washington, USAmerica, North America, Terra, Sol, Local Interstellar Cloud, Local Bubble, Gould Belt, Orion-Cygnus Arm, Milky Way, Milky Way Subgroup, Local Galactic Group, Virgo Supercluster, Laniakea Supercluster, Observable Universe, Universe
View GitHub Profile
@revisualize
revisualize / FreeCodeCamp - Nesting For Loops.js
Last active May 25, 2017 20:14
Challenge discussion for FreeCodeCamp.com - Nesting For Loops challenge: https://www.freecodecamp.com/challenges/nesting-for-loops
/* FreeCodeCamp - Nesting For Loops Challenge.
Total: 75 Lines on Gist.
Before we get into the challenge instructions and process,
I'd like to have an extended review for Accessing Complex Arrays &
iterating across arrays using for loops. Then we'll move into the complex arrays.
For this process, let's first create an array:
var arr = ["B", "D", "F", "H", "J", "L"]; // Even letters.
To access "B" we use arr[0]; and "J" is arr[4];
@revisualize
revisualize / FreeCodeCamp - Record Collection.js
Last active February 4, 2017 09:51
The FreeCodeCamp.com Record Collection check point with the instructions laid out in comments.
// Record Collection: (I have added the instructions to the comments.)
// First we need to understand that collection is an object with children objects.
// collections is an object with 4 properties: 2548, 2468, 1245 & 5439
// Each of those object properties have a child object.
// Those child objects can have up to three properties: album, artist & tracks
// Of those album & artist are strings and tracks is an array.
// Write a function which takes an album's id (like 2548),
// a property key (or name) ... prop (like "artist" or "tracks"),
@revisualize
revisualize / gist:f772db38f688f424fb9f
Last active August 29, 2015 14:05
Example XHTML code for a Facebook note
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>
Joseph A. Tracy's Assignement Three
</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />