Posts Tagged shorthand

  • Ternary Operator – Your Best Friend

    If you have never used the Ternary Operator, or ? operator, your life is about to change. The ternary operator is used as a shorthand for if .. else structures that can really clean up your code. Some may want to classify this under a intermediate

    more
  • The jQuery Class

    Before we have any major discussion about jQuery it is important that one understand how it works. A lot of your jQuery code will use the jQuery class. You can use the jQuery class two different ways. jQuery('#dom') - Full text way to use jQuery.

    more