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
Echo endpoint | |
https://glitch.com/edit/#!/shiny-plate?path=server.js:12:0 | |
mad lib | |
https://glitch.com/edit/#!/wonderful-apology?path=server.js:22:0 | |
A/B test | |
https://glitch.com/edit/#!/watery-denim?path=server.js:25:3 |
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 getting some feedback from a group of users, I gathered a few suggestions I was able to implement and update my web app accordingly. I removed any focus on input fields via hover, to adheer to web standards. I made sure all text is legible by giving contrast between text color and background color. Also, for cleaner markup, I used psuedo elements to accomplish my 'burger' menu and animations rather than using a series of elements to create the icon, its all handled with a single <div> and CSS alone. Cleaned up some of the order of elements such as movie / tv show plot so the text does not get too narrow which is a burden to read compared to a wider paragraph. |
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
Stream It will allow users to search for a movie or tv show and find which web platforms they can currently stream the movie/show on providing the links to the video as well as viewing options such as buy and rent and their corresponding prices. | |
I will be using Guidebox's API for video data and possibly GoWatchIt API as a fallback for when GuideBox terminates all free accounts. | |
Also, I will use The Open Movie Database (OMDBDatabase API) which gives me access to metadata from The International Movie Database (IMDB) |
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://repl.it/GiQR/192 | |
fizzbuzz with DOM insert | |
https://repl.it/GiQ8/325 | |
Lightbulb toggle | |
https://repl.it/GiQm/124 |
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(); // returns an array of words in the string using all multiples of white space and punctuation as the delimeter, removing any falsy values from array and finally sorting the array members alphabetically | |
} | |
function mostFrequentWord(text) { | |
var words = getTokens(text); // parses string into array, filtering out any white space or punctuation | |
var wordFrequencies = {}; // creates an object to store unique words and their frequencies | |
for (var i = 0; i <= words.length; i++) { // loops through all words in parsed string array |
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
student report | |
https://repl.it/G9NG/106 | |
enroll in school | |
https://repl.it/G9N6/81 | |
find by id | |
https://repl.it/G9OF/57 | |
validate object keys |
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
creator | |
https://repl.it/G9Lb/84 | |
updater | |
https://repl.it/G9Lf/71 | |
self-reference | |
https://repl.it/G9Lj/70 | |
deleting keys |
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? (global / local) | |
Essentially, scope is about the different perspectives for different places in code, i.e. what variables and associated values other functions and variables can "see" or access. Global scope encompases the entirety of source code and even spans across files given the suffienct linking of such files. A variable defined in the global scope will be able to be accessed by anywhere else in the code, including inside functions and other files. Local scope refers to the perspective from inside a function, nested function, or bracketed area of code. Any variables declared inside of a function or nested function are not necessarily accessible in other functions. The scope chain comes into play here. Global scope is at the very top and local scopes exist below it. Variables can only be accessed in a desceding manner in regards to the chain. A variable declared inside a function locally, will not be able to be accessed from places outside of the function, or up the scope chain, but areas |
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
min/max | |
https://repl.it/G9KJ/112 | |
average | |
https://repl.it/G9KO/85 | |
Fizzbuzz | |
https://repl.it/G9KW/137 |
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 array | |
https://repl.it/G9GB/79 | |
adding item to array | |
https://repl.it/G9GI/69 | |
accessing array items | |
https://repl.it/G9GO/68 | |
length/access |