Skip to content

Instantly share code, notes, and snippets.

wisePersonGenerator: https://jsbin.com/zecino/10/edit?js,console
shouter: https://jsbin.com/yafuye/5/edit?js,console
textNormalizer: https://jsbin.com/ganose/3/edit?js,console
Square Area: https://jsbin.com/rubucu/2/edit?js,console
Temperature Conversion: https://jsbin.com/yewogu/3/edit?js,console
Is Divisible: https://jsbin.com/losifo/3/edit?js,console
Trafic Lights: https://jsbin.com/cukoxo/5/edit?js,output
Error Alert: https://jsbin.com/cumaco/9/edit?js,console,output
Max/Min : https://jsbin.com/solene/edit?js,console
Average: https://jsbin.com/hewemeq/7/edit?js,console
FizzBuzz: https://jsbin.com/dogewo/5/edit?js,console
@mikeymaio
mikeymaio / gist:d239433a8df9b6ef0d4152e5d76e312c
Created November 13, 2016 05:45
Unit-2-Lesson-5-Questions
What is scope? Your explanation should include the idea of global vs. local scope.
Scope is a heirarchy for access to variables. Javascript has two scopes: global and local.Global scope means for variable can be
accessed everywhere in the code. Local scope, however, limits the use of a variable to the function in which it was created. When a
variable is referenced, the Javascript interpeter will begin looking locally and move toward global scope until it finds the defined
value. If it reaches the global scope and cannot find a defined value, it will raise an error
Any variable that is declared outside of a function has global scope.
Why are global variables avoided?
@mikeymaio
mikeymaio / gist:d865802d979205d85f81059c268b3d7d
Created November 13, 2016 07:32
Unit 2 Lesson 6 Part 2: Object Basic Drills
Create My Object: https://jsbin.com/suwuzu/3/edit?js,console
Update Object: https://jsbin.com/haluhip/4/edit?js,console
Person Maker: https://jsbin.com/jenaxul/4/edit?js,console
Key Deleter: https://jsbin.com/fakugey/2/edit?js,console
@mikeymaio
mikeymaio / gist:c317857848b46c04d7221602276990e3
Created November 14, 2016 17:34
Advanced Objects Drills Unit 2 Lesson 6
mostFrequentWords: https://jsbin.com/bebayud/edit?js,console
mergeDataStreams: https://jsbin.com/seziqon/edit?js,console
recipeFactory: https://jsbin.com/ginano/edit?js,output
Cat Carousel: https://jsbin.com/huhoya/edit?css,js,output
FizzBuzz: https://jsbin.com/sowutuk/edit?html,css,js,output
Lightbulb: https://jsbin.com/pusogug/edit?html,css,js,output
@mikeymaio
mikeymaio / gist:108c083da89d5cb967b9bc7f02838544
Created December 6, 2016 05:51
High Level Definition of Capstone 1
Help users find live music and night life events in their current city using the BandsInTown API.
Let's talk about this when you have a chance. I am wondering if a foursquare and tastekid API combo will give me more options to expand.
@mikeymaio
mikeymaio / gist:d245bab7085bf6f3e2b9498b63665893
Created December 15, 2016 04:46
Request and Response Drills
https://gomix.com/#!/project/earthy-ketchup
https://gomix.com/#!/project/reflective-hip