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
My first user gave me some very good styling advice and pointed out the ways I could make it more user friendly. | |
I made the adjustments he recommended and submitted it to a new user. | |
The second user said that they were experiencing problems with using the keyboard while testing it. | |
I fixed that and let my final user test it on a mobile device. Her exact wording was, "it works great! Good job!" |
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
const STORE = { | |
mapId: 0, | |
lat: 0, | |
lon: 0, | |
categoriesSettings: { | |
url: 'https://api.foursquare.com/v2/venues/categories', | |
data: { | |
client_id: 'KQZRJLBTVACPKJ2NYBQXS3AZ1ALG0HOWLJVNKI3MKHOPEI3O', | |
client_secret: 'MNYP4FZLA33QRUFKTMXCXSYJ00OYBYO2M5IHGL3IUOKD1SW4', | |
v: '20180823' |
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
Wut2Do will be a web app for finding nearby events and venues that match the users query and that are happening soon or currently. |
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
function getTokens(rawString) { | |
// NB: `.filter(Boolean)` removes any falsy items from an array | |
return rawString.toLowerCase().split(/[ ,!.";:-]+/).filter(Boolean).sort(); | |
} | |
function mostFrequentWord(text) { // define the function. It accepts one argument, "text" | |
let words = getTokens(text); // set a variable, "words", to the filtered and sorted output of "getTokens". It is an array of all the words present in "text" | |
let wordFrequencies = {}; // create an object, "wordFrequencies", to keep track of word quantities | |
for (let i = 0; i <= words.length; i++) { // begin for loop |
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/@ElliottAlexande/Make-student-reports-drill | |
https://repl.it/@ElliottAlexande/Enroll-in-summer-school-drill | |
https://repl.it/@ElliottAlexande/find-by-id-drill | |
https://repl.it/@ElliottAlexande/validate-object-keys-drill |
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/@ElliottAlexande/Object-creator-drill-1 | |
https://repl.it/@ElliottAlexande/Object-updater-drill | |
https://repl.it/@ElliottAlexande/Self-reference-drill | |
https://repl.it/@ElliottAlexande/Deleting-keys-drill |
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 the idea of where a variable is accessible. Global scope means that the variable resides outside of any function and as a result can be accessed by anything. Local scope would mean that the variable is accessible only inside it's original function. | |
Why are global variables avoided? | |
Global variables can cause issues because that variable can be referenced by any function in the program and may be altered accidentally, rendering it useless to its original purpose. | |
Explain JavaScript's strict mode | |
Strict mode raises a reference error when a variable is defined without let or const. It helps to keep the code collaboration friendly and bug free. | |
What are side effects, and what is a pure function? |
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/@ElliottAlexande/min-and-max-without-sort-drill | |
https://repl.it/@ElliottAlexande/average-drill | |
https://repl.it/@ElliottAlexande/fizzbuzz-drill-js |
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/@ElliottAlexande/Array-copying-I-drill | |
https://repl.it/@ElliottAlexande/Array-copying-II-drill | |
https://repl.it/@ElliottAlexande/Squares-with-map-drill | |
https://repl.it/@ElliottAlexande/Sort-drill | |
https://repl.it/@ElliottAlexande/Filter-drill |
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
Basic array drill solutions | |
https://repl.it/@ElliottAlexande/Creating-arrays-drill | |
https://repl.it/@ElliottAlexande/Adding-array-items-drills | |
https://repl.it/@ElliottAlexande/Accessing-array-items-drill | |
https://repl.it/@ElliottAlexande/Array-length-and-access-drill |