CSS currentValue keyword

The currentColor keyword refers to the text color on a element where the keyword is used. And it can be used on any property that accepts a color …

React 18 useDeferredValue hook

The React 18 introduces Concurrent React. It is React, that cares about tasks and their priorities to be processed by a browser in certain order. For …

Typescript const assertion

The ‘const’ assertion was added to TypeScript in version 3.4. It sets all properties of an object to be readonly and arrays becomes …

Cypress bundled libraries

Cypress relies on many open-source libraries. Mainly they are used internally, but they are also exported and we can use them in out tests. They may …

How to use <section> HTML tag

Section tag is one of HTML semantic elements, that tell browsers how they should appear and what they do. What should section contain and how should …

Scope in JavaScript

Scope is set of rules that determines where and how a variable can be referenced or is visible. Because we can nest blocks or functions inside another …

Defer script attribute

The defer attribute is used with &lt;script&gt; where it signals to browsers that the external script should be downloaded in parallel to parsing the …

HTML Divitis problem

Divitis or div soup is quite common problem of frontend developers. It is a habit or a process of using too many unnecessary div HTML elements in …

CSS min(), max() and clamp()

To improve responsiveness of a site, we are used to to use CSS media queries, calc() function or even Web API ResizeObserver event listener. But CSS …

Meet lobotomized owl

A lobotomized owl is a eerie name for a pretty neat CSS selector. This selector was introduced in 2014 by Heydon Pickering to solve some flow content …