Treehouse

Tutorials Page 4

  • Tweet For Code #4

    You don't need a thousand lines of code to make a big difference in any coding language.  Oftentimes it's quite the opposite:  a few tiny code snippets can do a world of good and accomplish big things.  I asked my Twitter followers to tweet to me...

  • Access Intern Command Line Arguments

    SitePen's excellent client side testing tool, Intern, comes with an excellent command line utility to run tests and customize how those tests are run.  The options provided are great but what if I want to make the command line more dynamic?  What if I...

  • Eliminating Distractions II

    One year ago I wrote about eliminating distractions, something everyone should focus on doing.  And being a work-from-home father of a energetic one year old, I need all the focus I can get while I'm at work.  Life improved a little bit but a month ago I had another...

  • Safe Function Calls with attempt

    As browser implement new APIs, the truth is that though the APIs provide more power, I'd argue they bring about more volatility.  Whether it's the API that's the issue or us trying to use it, you're bound to run into errors which may break parts of...

  • Useful Premium Plugins for Professional Web Designers and Developers

    Every client has a unique profile, so whenever we set about forging their websites, we first look for the right resources to help complete the job. Over time, the search process gets easier, as some of those assets become regular assistants. What is more, brand new...

  • ydkjs-4.png
  • Remove UTM Parameters from URLs

    If you've ever worked on a social media campaign, you're probably familiar with the UTM tracking pieces of a URL which allow you to tie visits and pageviews with a given campaign.  They're a marketing person's dream but ugly for end users to look at.  And if you don't want your statistics...

  • 6 Reasons to Go Treehouse

    There are quite a few tech video tutorial websites on the internet but Treehouse is the web's best.  Of course it's easy to make that claim but here are some of the numerous reasons why that can only be true. Trying Treehouse is FREE Treehouse's sponsorship...

  • Do a Basic HTTP Request with Node.js

    I'm currently working on adding client-side testing to the Mozilla Developer Network (MDN).  I'm using Intern, a JavaScript-based WebDriver API created by my former employer SitePen.  MDN has used its own Persona login service for years, and since many key features of MDN require...

  • Media Temple Hosting
  • Element.offsetHeight for Visibility

    One of the (perceived) tricky tasks within front-end coding is checking if an element is visible or not.  The very naive way of checking if an element is visible (i.e. has presence or takes up space on the page) is by checking its display style value: Notice...

  • Feature Detection and Function Efficiency within JavaScript

    Efficiency in code execution is incredibly important, especially when the given function is used repeatedly.  You often see repeated function calls within JavaScript frameworks.  When you work on said frameworks, you need to ensure you've hit ever micro-optimization possible.  One micro-optimization you can make is running...