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
| fetch('https://official-joke-api.appspot.com/random_joke') | |
| .then((response) => { | |
| if(!response.ok){ | |
| throw new Error("the response was clearly not okay O_O") | |
| } | |
| return response.json() | |
| }) | |
| .then((data) => { | |
| console.log(` | |
| the joke: ${data.setup} |
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
| def remove_html_markup(input): | |
| output = "" | |
| for character in input: | |
| if character == "<": | |
| pass | |
| if character == ">": | |
| pass | |
| output += character | |
| return output |
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
| My github account is no longer flagged as a spam!. After 5 days of waiting, finally the wait is over!. | |
| I already started to imagine all the project I will craft! wuuuhh the feeling is exciting! |
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
| 00100000 11011001 10000010 11011001 10001111 11011001 10000100 11011001 10010010 00100000 11011001 10001010 11011001 10110000 11011000 10111001 11011001 10010000 11011000 10101000 11011001 10001110 11011000 10100111 11011000 10101111 11011001 10010000 11011001 10001010 11011001 10001110 00100000 11011000 10100111 11011001 10000100 11011001 10010001 11011001 10001110 11011000 10110000 11011001 10010000 11011001 10001010 11011001 10010010 11011001 10000110 11011001 10001110 00100000 11011000 10100111 11011001 10001110 11011000 10110011 11011001 10010010 11011000 10110001 11011001 10001110 11011001 10000001 11011001 10001111 11011001 10001000 11011001 10010010 11011000 10100111 00100000 11011000 10111001 11011001 10001110 11011001 10000100 11011001 10110000 11011001 10010011 11011001 10001001 00100000 11011000 10100111 11011001 10001110 11011001 10000110 11011001 10010010 11011001 10000001 11011001 10001111 11011000 10110011 11011001 10010000 11011001 10000111 11011001 10010000 11011001 10000101 11011001 1001001 |