home

JavaScript's Tilde: Its Real Use Is No Mystery

A while back I wrote an article titled “The Great Mystery of the Tilde” where I tried to explain what the ~ (tilde) operator did in JavaScript. When trying to demystify what it was, I ended up perpetuating a lot of misinformation. I’m here to fix that today.

How to Debug Android Chrome From Your Windows PC

Debugging mobile websites is next to impossible when all you have is your phone, but if you have a Windows PC, you can use Google Chrome’s developer tools to connect to your Android phone and debug it from there, making the experience infinitely better. In this video, I’ll show you how to get set up to do that.

Pure CSS Slide-Down Animation

Sometimes something seems like it should be really easy, but it turns out to be extremely difficult. The case we’ll be checking out today is creating a slide-down animation using purely CSS. What could be so hard about that, right? Note: I’m aware this is a JavaScript site, but we’re all front-end developers here, so I’m sure this will appeal to many of you.

Teaching Kids JavaScript

Lots of kids are starting to learn to code these days, and I’m proud to join the movement to get even more kids coding. While Scratch is a popular starter language for younger kids, we’ve seen that when kids get to about 10-11, transitioning them to Javascript is a great next step.

Where Did Vue.js Come From?

The popularity of Vue.js has been climbing pretty fast. It hasn’t reached the levels of Angular or React yet, but in the year that the current VueJS repo has existed on Github, it has garnered approximately 2,700 watchers (more than Angular), 47,000 stars (more than twice as many as Angular and more than 3/4 of React’s). They also have more closed issues than React and only a tiny 58 open issues (compared to over 500 for React and over 1,000 for Angular).

Getting Back Into JavaScript Writing

I’m back! Did you miss me? I missed you guys. Sadly, though I’ve gotten back into writing about JavaScript, I haven’t been doing it on this blog. But I have written three posts for other blogs and they’ve all gone live this month. I’ve also got an announcement to make at the end.

Get Started With JavaScript Arrays

Practically all programming languages have an in-built array data type. JavaScript is no different. They store the data you need to run scripts for an application, which, from a developer’s perspective, means you’ll be writing less code, making you more productive. That’s why it’s worth knowing your way around them.

Composition Is King

The JavaScript community is becoming flooded with articles pushing to move toward functional programming or at least more toward composition over inheritance. For a long time we’ve tried to standardize inheritance without the huge mess that comes with the verbosity of the prototype syntax, and now that we have a standard class keyword in ES2015, people are trying harder than ever to tell us we don’t need it. Those people are, for the most part, correct.