Articles by ‘Christopher Pitt’

JavaScript Challenge #1: Review

Written By Christopher Pitt, on Wednesday, August 8th 2012, 2:50am

The first JavaScript challenge was a huge success, with many excellent entries. While there are many excellent entries, we found the following few taught us interesting and helpful lessons…

(more…)

JavaScript Challenge #2 (Whac-A-Moo)

Written By Christopher Pitt, on Wednesday, August 1st 2012, 4:49am

Hopefully the first challenge got you excited for JavaScript development in a competitive environment…

One of the most common requirements of web applications is to be able to respond to user input, and in particular clicks (or touches). Continuing with our theme of element generation (and in some cases animation); this week’s challenge will be to create a basic whac-a-mole game.

(more…)

JavaScript Challenge #1 (Wait, weekly?)

Written By Christopher Pitt, on Wednesday, July 25th 2012, 5:06am

The purpose of MooTools is not simply to bring syntactic sugar to JavaScript development but also to make you better at JavaScript. Often in forums and on Stack Overflow, the question will arise; “how do I do [insert UI widget] with [insert popular library]”.

The problem with these kinds of questions is that they often speak of the over-dependence on a certain framework (such as MooTools or jQuery) without a proper understanding of how JavaScript works or how to structure code well.

It is with this in mind that we want to set some challenges in plain old JavaScript (which are probably good programming challenges for any language) that will flex your grey matter.

(more…)