tag : tutorial

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.

Vue, Test Coverage, and Drag-and-Drop

In keeping with the latest trend for this website, I haven’t been writing much content for it. As usual, though, I’ve been writing for other blogs on a variety of topics, most of which are connected to Vue in some way, but there are some that have nothing to do with Vue. Take a look below.

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.

The Complete-Ish Guide to Upgrading to Gulp 4

Gulp 4 has been in the works for far too long, but it’s practically inevitable that it’ll be released… some day. I’m here to help you out for when that fateful day arrives by showing you the differences between Gulp 3.x and Gulp 4 and how you can make the migration to the new version relatively painless.