JavaScript & DOM Tips, Tricks, and Techniques E-Book

This e-book package is a collection of 70 tips and techniques, each originally published in individual releases of Web Tools Weekly, a newsletter geared towards front-end developers.

Buy Now for $5 (via PayPal)

The book is rendered via Leanpub, but I’m selling it through Pulley. The Pulley link will take you directly to PayPal. After you complete the purchase, Pulley will email you a link to download your package. Be sure to check your junk/spam folder!

Book Info

  • Number of pages in PDF: 127
  • E-Book formats in package: EPUB, MOBI, PDF
  • Number of tips: 70
  • Price: $5
  • URL to Purchase: http://pul.ly/b/136603
There’s now a 2nd volume. Go here for details

Book Contents

  • JavaScript Naming Conventions
  • insertAdjacentHTML()
  • getBoundingClientRect()
  • textContent()
  • scrollIntoView()
  • The <table> API
  • Array Manipulation Tips
  • Pattern Matching
  • Strict Mode
  • The + Operator
  • contains()
  • Document Fragments
  • querySelector() and querySelectorAll()
  • Implied eval()
  • selectionStart and selectionEnd
  • activeElement
  • The style Object
  • removeEventListener()
  • window.matchMedia()
  • Try, Catch, Throw
  • setSelectionRange()
  • classList
  • stopPropagation()
  • The location Object
  • normalize() and splitText()
  • Pseudo-Elements in JavaScript
  • lastIndexOf()
  • The continue Statement
  • event.button
  • The keypress and keydown Events
  • Invoking Functions
  • Mouse Coordinates
  • Array.every()
  • .call() and .apply()
  • Function.bind()
  • More on .bind()
  • The arguments Object
  • Child Nodes
  • Augmenting Types
  • Configuration Data
  • Switch Fall-Throughs
  • Interacting with a Live DOM
  • The NodeIterator API
  • TreeWalker
  • Array.some()
  • Avoiding Null Comparisons
  • Array.map()
  • trim()
  • Mouse Event Properties
  • Function.length
  • Array.reduce() and Array.reduceRight()
  • Number to String Conversion
  • compareDocumentPosition()
  • null vs. undefined
  • Node.isEqualNode()
  • window.getSelection()
  • getElementsByClassName()
  • Method Lookups
  • The dataset Object
  • Encoding/Decoding URIs
  • Enumerable vs. Non-enumerable Properties
  • elementFromPoint()
  • scrollTop and scrollLeft
  • setProperty(), removeProperty(), and getPropertyValue()
  • appendData()
  • deleteData() and insertData()
  • replaceData() and substringData()
  • Manipulating HTML Comment Nodes
  • array.forEach()
  • The text Property on Script Elements

All tips originally appeared in individual issues of Web Tools Weekly.

Buy Now for $5 (via PayPal)