Tutorials Page 95

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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...

  • Media Temple Hosting
  • By
    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...

  • By
    For and against `let`

    In this post I'm going to examine the case for (and perhaps against?) one of the new features coming in JavaScript ES6: the let keyword. let enables a new form of scoping not previously accessible generally to JS developers: block scoping. Function Scope Let's briefly review the basics...