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
1. One user thought the desktop version was way too small. He recommended widening the elements to make them more readable. | |
Wasn't a fan of the background image. | |
2. Another user also thought the elements were too squashed together. However, she did the background image and idea. | |
Conclusion: make elements wider. |
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, this program is using regular expressions to create a portion of the text analyzer app. We first retrieve the word | |
from the user and split it. Then it appears we use that as a global variable, once again referring to it in the subsequent function. | |
We assign it to the words variable. | |
Now we are using conditional statements and loops to check if the word matches one in the most MostFrequent object. | |
We then assign maxkey and maxcount variables. If the word/MostFrequent object matches, it is returned. |
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. | |
A:Variables declared in the global scope are available everywhere in your code, whereas ones in the local are not. | |
For example, those variables declared within function would have local scope. However, those declared outside have global. | |
Why are global variables avoided? | |
A: For the most part, global variables tend to be avoided as they can cause bugs further down the line. | |
Explain JavaScript's strict mode | |
A: This allows users to avoid any unintended side effects global variables may bring to the code. "Anytime a variable is declared without the var keyword, | |
an error will be triggered." |
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 lower income individuals using Medicaid find the best healthcare professionals who take their insurance in their state. |
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://jsbin.com/jazoven/edit?html,js,console,output | |
http://jsbin.com/giwusef/1/edit?html,js,console | |
https://jsbin.com/hugubug/1/edit?js,console | |
https://jsbin.com/yinubeg/1/edit?js,console | |
https://jsbin.com/bepatun/1/edit?html,css,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
https://jsbin.com/bogufequbu/1/edit?html,js,output | |
https://jsbin.com/qicozisaho/1/edit?html,css,js,output | |
https://jsbin.com/ranotobako/1/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
Object creator: https://jsbin.com/lunaqig/edit?html,js,console,output | |
Object update: https://jsbin.com/buzesu/edit?html,js,output | |
Self-reference: https://jsbin.com/cexulay/edit?js,console,output | |
Delete: https://jsbin.com/heximag/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
Max/min: https://jsbin.com/lisabod/edit?js,console | |
Computing average: https://jsbin.com/meyodu/edit?js,console | |
Fizzbuzz: https://jsbin.com/nebupud/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
Creating arrays: https://jsbin.com/xiposo/edit?js,output | |
Adding array items: https://jsbin.com/meyuxeg/edit?html,js,output | |
Accessing array items: https://jsbin.com/kogiwa/edit?js,console | |
Array length and access: https://jsbin.com/mabahoz/edit?js,output | |
Array copying 1: https://jsbin.com/xiruzez/edit?js,console | |
Array copying 2: https://jsbin.com/rafiduv/edit?js,console | |
Squares with map: https://jsbin.com/nozenup/edit?js,console | |
Sort: https://jsbin.com/yaxefux/edit?js,console | |
Filter: https://jsbin.com/xemugu/edit?js,console | |
Find: https://jsbin.com/zitudac/1/edit?html,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
Traffic Light: https://jsbin.com/hitisuc/1/edit?js,console,output | |
Error alert: https://jsbin.com/cumeja/1/edit?html,css,js,output |
NewerOlder