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

Using React and XState to Build a Sign In Form

To make a sign in form with good UX requires UI state management, meaning we’d like to minimize the cognitive load to complete it and reduce the number of required user actions while making an intuitive experience. Think about it: even a relatively simple email and password sign in form needs to handle a number of different states, like empty fields, errors, password requirements, loading and success.

Thankfully, state management is what React was made for and I was able … Read article

The post Using React and XState to Build a Sign In Form appeared first on CSS-Tricks.

Read more

Use monday.com to Boost Project Organization and Team Collaboration

(This is a sponsored post.)

Front-end development relies on organization and solid communication. Whether you’re part of a team that builds large-scale sites or you’re flying solo with a handful of quality clients, there are many pieces and steps to get a project from start to finish. And that’s not just limited to the development phase of a project, either. Think about sales proposals, estimates, sign-offs, and approvals among many other things. There’s a lot that goes into even … Read article

The post Use monday.com to Boost Project Organization and Team Collaboration appeared first on CSS-Tricks.

Read more

10 Professional PowerPoint Templates (And How to Use Them)

Let’s face it, not everyone has the time or energy to design a pixel-perfect PowerPoint slideshow for every presentation they make. This is where professional PowerPoint templates can be a live-saver! Whether you’re in charge of designing a slideshow for the weekly team meeting, or a freelancer pitching to clients, designing unique and attractive PowerPoint […]
Read more