Day 1: jQuery

On Day 1 of the 30 Day Challenge, I tackle jQuery, the Javascript library.

I've put together a small app (I'm using the term very loosely here) that calculates total savings based on annual savings and interest rate. Not a very useful app, but I've used it to explore some basic jQuery concepts:

  • DOM element selection
  • DOM manipulation (adding, removing, adding classes)
  • Attaching events (click, onchange)
  • Load JSON data asynchronously
  • Animation

Have a look at the source code on Github.

Resources

  • jQuery introduction - http://ejohn.org/apps/workshop/intro/
  • jQuery API reference - http://api.jquery.com/
  • Currency exchange rates - https://openexchangerates.org