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
link to our live server ---> https://petful-server-sean-taylor.herokuapp.com/ | |
link to our live client ---> https://petful-client-sean-taylor.herokuapp.com/ | |
link to client github ---> https://github.com/thinkful-ei26/petful-client-sean-taylor | |
link to server github ---> https://github.com/thinkful-ei26/petful-server-sean-taylor |
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
-----surprise.js----- | |
import React from 'react'; | |
import SurpriseButton from './surprise-button'; | |
import SurpriseImage from './surprise-image'; | |
export default class Surprise extends React.Component { | |
constructor(props) { |
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/#!/husky-shad?path=server.js:19:8 | |
https://glitch.com/edit/#!/shocking-trader?path=server.js:16: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
scope reffers to whether or not a variable is made, and called upon in a single function; or if the variable is made outside of a function | |
and called upon in multiple functions. | |
global variables are avoided because there is a chance that the varible will be modified from a source outside of the file it was created, | |
and cause errors or bugs due to its' new modified value. | |
javascripts strict mode will ensure that you always use let or const when declaring a new variable. | |
a side effect is when a function reaches outside of its local scope and modifies the value of a variable that is in a global scope. |
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/@taylormerrill/average-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/@taylormerrill/Array-copying-I-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/@taylormerrill/Accessing-array-items-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/@taylormerrill/Error-alert-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/@taylormerrill/area-of-a-rectangle-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/@taylormerrill/shouter-drill |