Skip to content

Instantly share code, notes, and snippets.

@Ransom527
Ransom527 / U3L5_Choosing-API.txt
Last active January 10, 2017 21:55
Unit 3, Lesson 5 - Choosing an API
Provide users with a way to check the exchange rate between the US dollar and a country they plan to travel to using the 'Exchange Rate Lab API'.
@Ransom527
Ransom527 / U3L1_Event-Listener-Drills.txt
Last active December 6, 2016 04:10
Unit 3, Lesson 1 - Event Listeners
Cat Carousel: https://jsbin.com/holaham/edit?js,console,output
Return of Fizzbuzz: https://jsbin.com/nayuzok/1/edit?js,console,output
Lightbulb Toggle: https://jsbin.com/gilodol/1/edit?js,console,output
@Ransom527
Ransom527 / U2L6_Links2.txt
Created December 1, 2016 02:44
Unit 2, Lesson 6 Links #2
Most Frequesnt Word: https://jsbin.com/dawoxey/edit?js,console,output
Data Merge: https://jsbin.com/rinikig/edit?js,console,output
Recipe Factory: https://jsbin.com/teqekid/edit?js,console,output
@Ransom527
Ransom527 / U2L6_Links.txt
Last active December 1, 2016 00:11
Unit 2, Lesson 6 Links:
@Ransom527
Ransom527 / U2L5_Answers.txt
Last active December 1, 2016 07:55
Unit 2, Lesson 5 Answers
1: Scope refers to what part of a programs' code a variable can be used in. Global scope means it can be called by any of the code. Function scope can only be called by a smaller subset of code/function.
2: Global variables are avoided mostly because they can cause problems once a program has become longer and more complex.
3: It also requires variable to be declared before they are used. Which prevens unintecntional global scope vars. AWA being more strict with sytax.
4: A side effect is when a Function alters a variable outside it's scope. A pure function returns the same result every time, with the same inputs.
5: Hoisting describes the interpreters default behaivior of finding all variable declarations first, and reading thme first.
@Ransom527
Ransom527 / U2L4_Links.txt
Last active January 13, 2017 05:26
Unit 2, Lesson 4 Links
@Ransom527
Ransom527 / U2L3_Links.txt
Last active November 29, 2016 01:08
Unit 2, Lesson 3 Links