David Walsh Tutorials

  • By
    JavaScript: Avoiding Repeated Work

    I love to scavenge the source code of the web's large sites, looking for patterns to both apply to my coding and to find hacks or techniques I'd not heard of before.  One problem I often find with the coding of large sites is repeated operations.

  • By
    BundleHunt:  Mega Creativity Bundle

    The magicians over at BundleHunt have created an impressive bundle made for web designers and developers: the Mega Creativity Bundle. We've partnered with 14 of the world's finest web designers and developers to bring you our first-ever $7 bundle. That's right. You just...

  • By
    CSS attr, content, and L10N

    I have the privilege of working for Mozilla on the Mozilla Developer Network (MDN).  As with any Mozilla-made website, localization is paramount to MDN, so we must be mindful of that when we put text anywhere on the site.  I was recently working on a feature which made...

  • By
    SenchaCon 2013:  Live Like a Rock Star

    There are a handful of outstanding front-end development organizations and Sencha is right at the top of them.  Sencha has done some incredible work, all the way back to the ExtJS days to the modern day Sencha Touch library.  Sencha continues to push the limits...

  • By
    CSS content and attr

    CSS is becoming more and more powerful but in the sense that it allows us to do the little things easily.  There have been larger features added like transitions, animations, and transforms, but one feature that goes under the radar is generated content.  You saw a...

  • By
    Mighty Deals:  WordPress Shortcodes Plugin + 3 Premium WP Themes

    A while back I wrote a post about WordPress Shortcode creation.  Shortcodes are convenient and useful on so many levels and for so many levels of skilled WordPress users.  A basic user can quickly learn shortcodes, as can an expert-level developer.  In short...

  • By
    Windows 8 Pin METAs

    Windows 8 allows for adding websites as apps (or maybe "bookmarks" is a better term) to the home screen, much in the vein that iOS allows users to do the same.  Like iOS devices, Windows 8 allows  users to accomplish this same task using custom...

  • By
    Firefox Button Height Fix

    One problem I've seen on occasion is that button heights in Firefox are a few pixels larger than in other browsers.  This can be a nightmare when trying to unify the size of buttons with an A elements, as we found out when implementing a new...

  • By
    CSS Counters

    Counters.  They were a staple of the Geocities / early web scene that many of us "older" developers grew up with;  a feature then, the butt of web jokes now.  CSS has implemented its own type of counter, one more sane and straight-forward than the ole...

  • By
    CSS Idea:  /*autoprefix*/

    Using utilities likes SASS and Compass have made me me think a lot about how we can improve CSS in the short term.  Of course all CSS proposals should go through the W3C standardization process, but the problem is that those processes take a long time.