Level up your .filter game

.filter is a built-in array iteration method that accepts a predicate which is called against each of its values, and returns a subset of all values that return a truthy value.

That is a lot to unpack in one statement! Let’s take a look at that statement piece-by-piece.

  • “Built-in” simply means that it is part of the language—you don’t need to add any libraries to get access to this functionality.
  • “Iteration methods” accept a function that are run against each

The post Level up your .filter game appeared first on CSS-Tricks.

Read more

30+ Best High-Quality Photoshop & Illustrator Brushes

We’ve put together a collection of our favorite, high-quality Photoshop and Illustrator brushes, to help you put the perfect finishing touch on your next design. A Photoshop or Illustrator brush is, at its simplest, exactly what you’d expect — a way to draw a particular line or style in a Photoshop or Illustrator document. Click, drag, […]
Read more

Working with refs in React

Refs make it possible to access DOM nodes directly within React. This comes in handy in situations where, just as one example, you want to change the child of a component. Let’s say you want to change the value of an <input> element, but without using props or re-rendering the whole component.

That’s the sort of thing refs are good for and what we’ll be digging into in this post.

How to create a ref

createRef() is a new API …

The post Working with refs in React appeared first on CSS-Tricks.

Read more

6 Common Problems When Logging into the WordPress Admin Area

WordPress is a powerful platform for everything from personal blogging to enterprise sites. It contains an excellent set of features to make it as easy as possible to create online publications, make it pleasant and convenient. Daily on the forums, there are many questions about the most common issues with WordPress, faced by beginners. WordPress …
The post 6 Common Problems When Logging into the WordPress Admin Area appeared first on Torque.
Read more

20+ Animated PowerPoint Templates (Free + Premium)

In this collection, we’re featuring some of the best, animated PowerPoint templates (both premium and free) to create stunning presentations filled with stylish object and transition animations. Designing a PowerPoint presentation is not an easy job. It requires a lot of work and time. When crafting presentations, most people completely ignore one of the key […]
Read more

Building Battleship in CSS

This is an experiment to see how far into an interactive experience I can get using only CSS. What better project to attempt than a game? Battleship seemed like a good challenge and a step up from the CSS games I’ve seen so far because it has the complexity of multiple areas that have to interact with two players.

Wanna see the complete game?

View Repo View Demo

Oh, you wanna learn how it works? Let’s dig in.

I could …

The post Building Battleship in CSS appeared first on CSS-Tricks.

Read more

​Task management has never been easier

(This is a sponsored post.)

monday.com is a team management tool that is exceptionally suitable for any industry sector and by any sized team. It will perfectly serve a team of two or a team of hundreds spread around the globe, and it can manage multiple projects at once.

monday.com promotes effortless collaboration and transparency, it’s “cheetah fast,” it displays status in as many as 20 different colors, and its status board can be customized to fit your needs …

The post ​Task management has never been easier appeared first on CSS-Tricks.

Read more