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
Gift List | |
https://github.com/ecarlson1201/gift-list-client |
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 | |
db.restaurants.find() | |
Limit and Sort | |
db.restaurants.find().sort({name: 1}).limit(10) | |
Get by Value | |
db.restaurants.find({borough: "Queens"}) | |
Count |
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://glitch.com/edit/#!/weak-capybara?path=server.js:47:0 |
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://glitch.com/edit/#!/same-forgery?path=server.js:10:3 | |
https://glitch.com/edit/#!/quark-limit?path=server.js:34:0 |
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 with coding by providing basic information, how-to videos, links to discussion forums, and exercises about a searched topic. |
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://repl.it/@EricCarlson1/Shopping-list-app-jQuery-1 |
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://repl.it/@EricCarlson1/Cat-carousel-jQuery |
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
/* After removing any falsey items from the raw text using the getTokens function, we are left with one clean | |
lower case string containing only words seperated by spaces. The mostFrequentWord function takes that string | |
and assigns it to a variable, words. The function then iterates through each word and if it encounters a new | |
word it adds one to a new key in an object, wordFrequencies. If it has already encountered the word, it adds | |
one to the key at which it first encountered the word. | |
Afterwards, it sets a variable, currentMaxKey, to the first word in the wordFrequencies object and another | |
variable, currentMaxCount, to whatever index of the currentMaxKey in the wordFrequencies object. | |
Next the function iterates over every property in the wordFrequencies object. It then runs an if statement |
NewerOlder