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
class Master { | |
tenThousandHours(sweat) { | |
this.sweat = sweat; | |
} | |
grind() { | |
console.log(this.sweat); | |
} | |
} |
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
class Master { | |
tenThousandHours(sweat) { | |
this.sweat = sweat; | |
} | |
grind() { | |
console.log(this.sweat); | |
} | |
} |
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
class Master { | |
tenThousandHours(sweat) { | |
this.sweat = sweat; | |
} | |
grind() { | |
console.log(this.sweat); | |
} | |
} |
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
class Master { | |
tenThousandHours(sweat) { | |
this.sweat = sweat; | |
} | |
grind() { | |
console.log(this.sweat); | |
} | |
} |
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
// Change this | |
grind() { | |
console.log(this.sweat); | |
}; | |
// into this | |
grind = () => { | |
console.log(this.sweat); | |
}; |
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
class Master { | |
tenThousandHours(sweat) { | |
this.sweat = sweat; | |
} | |
grind = () => { | |
console.log(this.sweat); | |
} | |
} |
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
// to the left of .grind is yoda so yoda is this | |
const grind = yoda.grind; | |
// grind is now an arrow function and therefore | |
// looks to the above to find out what this is | |
grind(); |
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
// Use the following line in your CLI to initilize | |
// a React app called Nasa | |
create-react-app Nasa |
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
// Use the following line in your CLI | |
// Make sure you're in your app directory | |
// That would be Nasa for me | |
npm install axios |
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
{ | |
"date": "2019-02-10", | |
"explanation": "What does Venus look like beneath its thick clouds? These clouds keep the planet's surface hidden from even the powerful telescopic eyes of Earth-bound astronomers. In the early 1990s, though, using imaging radar, NASA's Venus-orbiting Magellan spacecraft was able to lift the veil from the face of Venus and produced spectacular high resolution images of the planet's surface. Colors used in this computer generated picture of Magellan radar data are based on color images from the surface of Venus transmitted by the Soviet Venera 13 and 14 landers. The bright area running roughly across the middle represents the largest highland region of Venus known as Aphrodite Terra. Venus, on the left, is about the same size as our Earth, shown to the right for comparison.", | |
"hdurl": "https://apod.nasa.gov/apod/image/1902/VenusEarth_MagellanApollo17_3000.jpg", | |
"media_type": "image", | |
"service_version": "v1", | |
"title": "Venus Unveiled", | |
"url": "https://apod.nasa.gov/apod/image/1902/Ve |
OlderNewer