Angular icon Get $100 off the 7-Courses Angular Master Bundle!

See the bundle then add to cart and your discount is applied.

days
hours
mins
secs
Stratos.js simplifying Object manipulation image

Stratos.js simplifying Object manipulation

Todd Motto image

Todd Motto

Feb 22, 2014

JavaScript Objects are usually the driving force behind applications I develop, specifically JSON which gets sent back and forth from the server as...

Mastering the Module Pattern image

Mastering the Module Pattern

Todd Motto image

Todd Motto

Jan 29, 2014

I’m a massive fan of JavaScript’s Module Pattern and I’d like to share some use cases and differences in the pattern, and why they’re important. Th...

Avoiding anonymous JavaScript functions image

Avoiding anonymous JavaScript functions

Todd Motto image

Todd Motto

Jan 19, 2014

Anonymous functions, the art of the callback. I’m going to propose that you never write a callback again using an anonymous function, and I’ll sell...

Everything you wanted to know about JavaScript scope image

Everything you wanted to know about JavaScript scope

Todd Motto image

Todd Motto

Dec 29, 2013

The JavaScript language has a few concepts of “scope”, none of which are straightforward or easy to understand as a new JavaScript developer (and e...

Stop toggling classes with JS, use behaviour driven DOM manipulation with data-states image

Stop toggling classes with JS, use behaviour driven DOM manipulation with data-states

Todd Motto image

Todd Motto

Dec 17, 2013

Using a class to manipulate the DOM? What about this idea. Using classes have many issues, the main one for me is that adding classes to elements t...

A comprehensive dive into NodeLists, Arrays, converting NodeLists and understanding the DOM image

A comprehensive dive into NodeLists, Arrays, converting NodeLists and understanding the DOM

Todd Motto image

Todd Motto

Dec 12, 2013

Manipulating the DOM is JavaScript’s role when developing websites and applications, and we do this by grabbing collections of elements called Node...

Vault.js, HTML5 local session Web Storage API with automatic JSON support image

Vault.js, HTML5 local session Web Storage API with automatic JSON support

Todd Motto image

Todd Motto

Dec 7, 2013

Vault is a 0.6KB standalone HTML5 (local/session) Web Storage API with automatic JSON support. Web Storage only accepts a String as value of an Obj...

Smarten your front-end workflow with @conditionizr, screencast on all the APIs image

Smarten your front-end workflow with @conditionizr, screencast on all the APIs

Todd Motto image

Todd Motto

Nov 26, 2013

Who’s using Conditionizr? So far we’ve found some teams at Google, Sencha, NASA are some great names using it.

Apollo.js, standalone class manipulation API for HTML5 and legacy DOM image

Apollo.js, standalone class manipulation API for HTML5 and legacy DOM

Todd Motto image

Todd Motto

Nov 9, 2013

Apollo is a <1KB standalone DOM class manipulation API for adding, removing, toggling and testing the existence of classes on an element. Apollo...

Understanding Regular Expression matching with .test, .match, .exec, .search and .split image

Understanding Regular Expression matching with .test, .match, .exec, .search and .split

Todd Motto image

Todd Motto

Oct 29, 2013

Regular Expressions, often noted as RegEx or RegExp, are seen and used pretty much everywhere in JavaScript. I use them all the time and you’ve pro...

NoFi, detecting no WiFi, callbacks for offline states with HTML5 image

NoFi, detecting no WiFi, callbacks for offline states with HTML5

Todd Motto image

Todd Motto

Oct 28, 2013

An HTML5 API buried inside the navigator Object called onLine is where the inspiration for this little tool came from. NoFi detects no WiFi (yes, i...

Hacking SVG, traversing with ease - addClass, removeClass, toggleClass functions image

Hacking SVG, traversing with ease - addClass, removeClass, toggleClass functions

Todd Motto image

Todd Motto

Oct 27, 2013

Update: I’ve turned this into a small JavaScript module named Lunar and pushed to GitHub, please use that code instead as it doesn’t extend native ...