Last active
July 16, 2018 19:37
-
-
Save laniehei/77497d449faa2d13134144c792729078 to your computer and use it in GitHub Desktop.
fem-JavaScriptTheHardParts
This file contains hidden or 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
| ///////////////// | |
| // // | |
| // CHALLENGE 1 // | |
| // // | |
| ///////////////// | |
| /* <<<=== Add two slashes to start (// /*), then remove the first two slashes (//) to comment out this challenge when finished | |
| console.log('Start of Challenge 1'); | |
| // ...your code below | |
| console.log('End of Challenge 1'); | |
| // */// (do not alter this line) | |
| ///////////////// | |
| // // | |
| // CHALLENGE 2 // | |
| // // | |
| ///////////////// | |
| /* <<<=== Add two slashes to start (// /*), then remove the first two slashes (//) to comment out this challenge when finished | |
| console.log('Start of Challenge 2'); | |
| // ...your code below | |
| // ...your code above | |
| function clearAllIntervals() { | |
| for (let i = 0; i < 1000; i++) { | |
| clearInterval(i); | |
| } | |
| } | |
| console.log('End of Challenge 2'); | |
| // */// (do not alter this line) | |
| ///////////////// | |
| // // | |
| // CHALLENGE 3 // | |
| // // | |
| ///////////////// | |
| /* <<<=== Add two slashes to start (// /*), then remove the first two slashes (//) to comment out this challenge when finished | |
| console.log('Start of Challenge 3'); | |
| // ...your code below | |
| console.log('End of Challenge 3'); | |
| // */// (do not alter this line) | |
| ///////////////// | |
| // // | |
| // CHALLENGE 4 // | |
| // // | |
| ///////////////// | |
| /* <<<=== Add two slashes to start (// /*), then remove the first two slashes (//) to comment out this challenge when finished | |
| console.log('Start of Challenge 4'); | |
| // ...your code below | |
| console.log('End of Challenge 4'); | |
| // */// (do not alter this line) | |
| ///////////////// | |
| // // | |
| // CHALLENGE 5 // | |
| // // | |
| ///////////////// | |
| /* <<<=== Add two slashes to start (// /*), then remove the first two slashes (//) to comment out this challenge when finished | |
| console.log('Start of Challenge 5'); | |
| // ...your code below | |
| // ...your code above | |
| document.body.style.background = '#def'; | |
| console.log('End of Challenge 3'); | |
| // */// (do not alter this line) | |
| ///////////////// | |
| // // | |
| // CHALLENGE 6 // | |
| // // | |
| ///////////////// | |
| /* <<<=== Add two slashes to start (// /*), then remove the first two slashes (//) to comment out this challenge when finished | |
| console.log('Start of Challenge 6'); | |
| var dataReceived; | |
| function ajaxSimulate(id, callback) { | |
| var database = ['Aaron', 'Barbara', 'Chris']; | |
| } | |
| // ...your code below | |
| console.log('End of Challenge 6'); | |
| // */// (do not alter this line) | |
| ///////////////// | |
| // // | |
| // CHALLENGE 7 // | |
| // // | |
| ///////////////// | |
| /* <<<=== Add two slashes to start (// /*), then remove the first two slashes (//) to comment out this challenge when finished | |
| console.log('Start of Challenge 7'); | |
| // ...your code below | |
| console.log('End of Challenge 7'); | |
| // */// (do not alter this line) | |
| ///////////////// | |
| // // | |
| // CHALLENGE 8 // | |
| // // | |
| ///////////////// | |
| /* <<<=== Add two slashes to start (// /*), then remove the first two slashes (//) to comment out this challenge when finished | |
| console.log('Start of Challenge 8'); | |
| // ...your code below | |
| console.log('End of Challenge 8'); | |
| // */// (do not alter this line) | |
| ///////////////// | |
| // // | |
| // CHALLENGE 9 // | |
| // // | |
| ///////////////// | |
| /* <<<=== Add two slashes to start (// /*), then remove the first two slashes (//) to comment out this challenge when finished | |
| console.log('Start of Challenge 9'); | |
| // ...your code below | |
| console.log('End of Challenge 9'); | |
| // */// (do not alter this line) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment