This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get all | |
// Find the command that retrieves all restaurants. | |
// ANSWER: | |
db.restaurants.find() | |
// Limit and sort |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Overall, feedback was positive. Users were confused by the geocoder error responses "OVER_QUERY_LIMIT" and "ZERO_REULTS", but after | |
clicking through these errors, everything worked fine. Users requested that the logo displayed after search links to something(new search/home page | |
maybe a dropdown menu with options? new search/about/contact) | |
Plan: | |
1. Fix bugs and add user requested funtionality. | |
2. Add social features (check-in, like/leave comments about events that are in progress, upload a photo or short video of event) | |
3. Add alerts (if event has a certain ratio of positive feedback to user check-ins ,alert users when results load: | |
"this event is poppin' off!" ...or something like that) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gomix.com/#!/project/earthy-ketchup | |
https://gomix.com/#!/project/reflective-hip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mostFrequentWords: https://jsbin.com/bebayud/edit?js,console | |
mergeDataStreams: https://jsbin.com/seziqon/edit?js,console | |
recipeFactory: https://jsbin.com/ginano/edit?js,output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trafic Lights: https://jsbin.com/cukoxo/5/edit?js,output | |
Error Alert: https://jsbin.com/cumaco/9/edit?js,console,output |