- Name | Keywords
- Morgan Wilde | iOS, JavaScript, React.js software dev
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
fizz({ | |
messages: [ | |
{message: 'fizz', value: 3}, | |
{message: 'buzz', value: 5}, | |
{message: 'fizzbuzz', value: 15}, | |
{message: 'bar', value: 11} | |
], | |
sequenceFrom: 1, | |
sequenceTo: 11, | |
test: (number, value) => number % value === 0 |
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
class Grid { | |
constructor(length) { | |
this.length = length; | |
this.grid = []; | |
for (let v = 0; v < length; v += 1) { | |
for (let h = 0; h < length; h += 1) { | |
this.grid.push(' '); | |
} | |
} | |
} |
Create a Slack bot that allows to interact with dog.ceo/dog-api.
The bot should join the #dogs
channel and listen for the following commands.
hey bot, show great dane
hey bot, show random
hey bot, find hound
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
/* Media queries*/ | |
@media only screen | |
and (min-device-width: 320px) | |
and (max-device-width: 1024px) | |
and (-webkit-min-device-pixel-ratio: 2) | |
and (orientation: portrait) { | |
header { | |
grid-template-columns: 1fr; | |
} |
OlderNewer