How to Care For Your Client After Delivering Their Project (In 3 Steps)

It’s tempting to think that once a project has been delivered, the relationship with your client is over. However, nothing could be further from the truth. If you don’t incorporate a post-project ‘customer aftercare‘ phase, you could end up facing ongoing and constant support requests for the smallest of queries. Fortunately, creating a solid process …
The post How to Care For Your Client After Delivering Their Project (In 3 Steps) appeared first on Torque.
Read more

Using the Command Line for Automation – Part I Remote Control WordPress with WP-CLI Aliases

WP-CLI is a tool that allows commands to be run in WordPress from the command line or terminal. One of the reasons why developers love WP-CLI is that it provides a way to automate WordPress and common operations that otherwise require navigating through the WordPress Dashboard in order to execute. There can be many clicks to …
The post Using the Command Line for Automation – Part I Remote Control WordPress with WP-CLI Aliases appeared first on Torque.
Read more

A Bunch of Options for Looping Over querySelectorAll NodeLists

A common need when writing vanilla JavaScript is to find a selection of elements in the DOM and loop over them. For example, finding instances of a button and attaching a click handler to them.

const buttons = document.querySelectorAll(".js-do-thing");
// There could be any number of these!
// I need to loop over them and attach a click handler.

There are SO MANY ways to go about it. Let’s go through them.

forEach

forEach is normally for arrays, and interestingly, …

The post A Bunch of Options for Looping Over querySelectorAll NodeLists appeared first on CSS-Tricks.

Read more

Why Browsers Download Stylesheets with Non-Matching Media Queries

Say you have a stylesheet linked up like this:

<link href="mobile.css" rel="stylesheet" media="screen and (max-width: 600px)">

But as the page loads, you’re on a desktop browser where the screen is 1753px wide. The browser should just skip loading that stylesheet entirely, right? It doesn’t. Thomas Steiner explains:

it turns out that the CSS spec writers and browser implementors are actually pretty darn smart about this:

The thing is, the user could always decide to resize their window (impacting width, height, …

The post Why Browsers Download Stylesheets with Non-Matching Media Queries appeared first on CSS-Tricks.

Read more

Keynote vs PowerPoint: Which Presentation App to Choose?

It’s presentation time! Whether you are creating a template for your boss or prepping slides for a talk, using the right software can make the job a lot easier. We’re pitting Keynote vs. PowerPoint against one another to lay out the pros and cons of each. For Mac users, there are two pretty obvious choices […]
Read more

The ironic inaccessibility of a11y

This resonated with me:

It’s ironic to me that the numeronym “a11y” lacks accessibility: it’s not immediately decipherable by humans who aren’t “in the club”; and, in some fonts, it’s visually indistinguishable from the word “ally” (with lowercase L’s), which can foil searches for clarity.

— Eric Meyer (@meyerweb) November 5, 2018

Because I bet it took me a year after seeing that acronym (“numeronym”, I guess) for the first time to know that was just a stand-in for the …

The post The ironic inaccessibility of a11y appeared first on CSS-Tricks.

Read more

How to Evolve Your Blog with the Help of Artificial Intelligence

Out of all the buzzwords being used AI causes the most stir nowadays. Artificial Intelligence or AI is a separate branch of computer science, and it deals with the development of complex computer systems to aid humans. By taking over repetitive, dull or grueling tasks, humans have more time to focus on more important endeavors. …
The post How to Evolve Your Blog with the Help of Artificial Intelligence appeared first on Torque.
Read more