#js30.04 Array Cardio 1

This installment of Wes Bos’ Javascript30 course demonstrates several array methods, e.g., Array.prototype.filter(), Array.prototype.forEach(), Array.prototype.map() & Array.prototype.sort(). Whenever I spend some time working with array methods I start to feel like I have a clue how javascript works. Yup, it’s slowly seeping in …

#js30.02: Clock

Wes Bos’ Javascript30 course Project #2 is a css & js analog clock, mainly a lesson in how the Date object can be used in javascript. The use of css transforms – specifically the transform-origin attribute – is also central to achieving the clock’s hands.

The clock face and clock hands are created using pretty straightforward html & css: (more…)