Michael Douglas Brett - Web Development

Hi, I'm Michael. I'm a front-end web developer based in the UK. This is my site.

Duplicate!

JavaScript FEDIQ

May 30th 2016

I've had a busy couple of weeks, so I'm going to phone this one in a little bit. The original problem was 'Make this work: duplicate([1,2,3,4,5]) // ([1,2,3,4,5,1,2,3,4,5])'. Click the 'Full post' link to discover this one weird trick to concatenate arrays...

Full post >>

No Stairway! Denied!

FEDIQ JavaScript CSS

Apr 7th 2016

A short-but-sweet FEDIQ hit today:

'Create a for loop that iterates up to 100 while outputting "fizz" at multiples of 3, "buzz" at multiples of 5 and "fizzbuzz" at multiples of 3 and 5'

Yup, it's FizzBuzz.

Full post >>

Events!

FEDIQ JavaScript DOM

Mar 30th 2016

It's Front End Developer Interview Question time! This installment is brought to you in association with our good friends at left-pad.io. I've looked ahead and decided that I'm going to take this one as a twofer: 'Explain event delegation' and 'Describe event bubbling'. Why not?

Full post >>

A Single Source of Truthyness

JavaScript Podcasts Learning

Nov 11th 2015

Kyle Simpson (Getify) - author of the book series 'You Don't Know JS' - was a recent guest on Scott Hanselman's 'Hanselminutes' podcast. During the conversation he said something about what makes JavaScript developers different that really struck home with me.

Full post >>