What Are Dark Patterns? (And Why You Shouldn’t Use Them)

Dark patterns are website interfaces that cause users to interact with a website in a way that isn’t what they intended. They cause users to click through to a page, or even add an extra item to a shopping cart, without intending to. From sneaky clicks to straight-up poor website practices, dark patterns are in […]
Read more

How to Choose the Best Color Palette For Your Blog

Have you ever wondered why many blogs struggle to get traffic while others just go with the flow and end up attracting more shoppers? Surprisingly a lot of it has to do with the color you use. It is important to note that every color has a meaning behind it and generates a certain emotion. …
The post How to Choose the Best Color Palette For Your Blog appeared first on Torque.
Read more

Need to Test API Endpoints? Two Quick Ways to Do It.

Here’s a possibility! Perhaps you are testing your JavaScript with a framework like Jasmine. That’s nice because you can write lots of tests to cover your application, get a nice little UI to see the output, and even integrate it with build and deploy tools to make your ongoing development work safer.

Now, perhaps there is this zany developer on your team who keeps changing API endpoints on you — quite literally breaking things in the process. You decide … Read article

The post Need to Test API Endpoints? Two Quick Ways to Do It. appeared first on CSS-Tricks.

Read more

Creating Your Own Gravity and Space Simulator

Space is vast. Space is awesome. Space is difficult to understand — or so people tend to think. But in this tutorial I am going to show you that this is not the case. Quite the contrary; the laws that govern the motion of the stars, planets, asteroids and even entire galaxies are incredibly simple. You could argue that if our Universe was created by a developer, she sure was concerned about writing clean code that would be easy to … Read article

The post Creating Your Own Gravity and Space Simulator appeared first on CSS-Tricks.

Read more

30+ Best Line Patterns & Textures

Whether you’re working on a product packaging design, a greeting card, or even a website background, incorporating one of these line patterns and textures can help you achieve a pro result. No need to spend hours of your valuable time searching for beautiful line patterns. We scoured the web to find the best line patterns […]
Read more

Tips to Make WordPress Web Design Mobile-Friendly

For some time, people who owned and ran WordPress websites thought of being mobile-friendly as more than an option than a necessity. That changed a couple of years ago when the mobile user population surpassed the number of desktop users. With the gap widening with each passing year, it would seem foolhardy for webmasters to …
The post Tips to Make WordPress Web Design Mobile-Friendly appeared first on Torque.
Read more

Putting the Flexbox Albatross to Real Use

If you hadn’t seen it, Heydon posted a rather clever flexbox layout pattern that, in a sense, mimics what you could do with a container query by forcing an element to stack at a certain container width. I was particularly interested, as I was fighting a little layout situation at the time I saw this and thought it could be a solution. Let’s take a peak.

“Ad Double” Units

I have these little advertising units on the design of this … Read article

The post Putting the Flexbox Albatross to Real Use appeared first on CSS-Tricks.

Read more

How to Monitor User Activity in WordPress

Running a multi-author blog is quite challenging when it comes to WordPress security. Every time users make changes, publish new content, change settings of your site, moderate comments etc. How can you know the behavior of your users? By default, WordPress doesn’t come up with a function that allows you to monitor user activities and …
The post How to Monitor User Activity in WordPress appeared first on Torque.
Read more

Adopting TDD for an Existing Plugin

Test-driven development (TDD) is a philosophy of software development that is based on writing tests before writing a feature or bug fix. This is a big difference in terms of how you think about development. I find it to be very hard to move to TDD, both because it’s a different mental model and because …
The post Adopting TDD for an Existing Plugin appeared first on Torque.
Read more