Skip to content

Instantly share code, notes, and snippets.

Attendee List

  • Name | Keywords
  • Morgan Wilde | iOS, JavaScript, React.js software dev
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
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(' ');
}
}
}

Assignment

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
/* 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;
}