Skip to content

Instantly share code, notes, and snippets.

@IllegalSkillsException-active
IllegalSkillsException-active / petfulApp
Created January 25, 2019 22:28
sean-taylor-petful-app
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
-----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) {
https://glitch.com/edit/#!/husky-shad?path=server.js:19:8
https://glitch.com/edit/#!/shocking-trader?path=server.js:16:0
@IllegalSkillsException-active
IllegalSkillsException-active / scope
Created October 2, 2018 19:28
challenge: in your own words
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.
@IllegalSkillsException-active
IllegalSkillsException-active / average
Created October 1, 2018 22:03
array loops and drills
https://repl.it/@taylormerrill/average-drill
https://repl.it/@taylormerrill/Array-copying-I-drill
https://repl.it/@taylormerrill/Accessing-array-items-drill
https://repl.it/@taylormerrill/Error-alert-drill
https://repl.it/@taylormerrill/area-of-a-rectangle-drill
https://repl.it/@taylormerrill/shouter-drill