What's going on in < / > world
"Easy is boring. That's why I love the web and browsers." - Remy Sharp

Hello, you're reading Infinum Frontend Cookies, bringing you the latest JavaScript and CSS related news straight to your inbox every week.
The Real Dark Web
We rarely acknowledge the vast majority of web developers. The vast majority of respondents are still using Sass and vanilla CSS?
These developers are quietly building their sites and apps, day in, day out. But they are rendered invisible as they are not making use of the cutting-edge technologies that the 1% of the bleeding edge love to talk about.
Read More
Libs & tools
A collection of CSS3 powered hover effects
Loads environment variables from .env.[development|test|production][.local] files for Node.js projects.
Articles
Right now, your code is using some kind of design pattern. There are 23 official ones, but a few of them show up almost every day in web development. Here are 4 of the most commonly used design patterns in web development.
CSS knows several measurement units. The best known unit is pixels, but there are other units that are not that popular but very handy in some uses cases.
Data can be prohibitively expensive, especially in developing countries. Chris Ashton puts himself in the shoes of someone on a tight data budget and offers practical tips for reducing our websites' data footprint.
Coming from high-level programming languages to TypeScript, a mere mortal dev may naively use an enum for a predefined list of numeric or textual values. Because really, how could it possibly be different in TypeScript?.. Unfortunately, it can and here is a quick run down the Rabbit Hole of TypeScript enums.
For beginners
The article describes the not so well known behaviors of the method String.prototype.replace. Using this method is usually very straight forward.
Spec of the week
The flat() method creates a new array with all sub-array elements concatenated into it recursively up to the specified depth.
Demo