By default subscript ( ) and superscript ( ) tags are styled with vertical-align: sub, respectively vertical-align: super by most browsers.

In esbuild, you usually import other files using relative paths: import './some-related-module' import `../../utils/some-utility-module` import `../../../css/some-css.sass` This is totally fine...

As a developer you may have many tools watching your project for changes: Your IDE, Webpack, Guard, etc. This is...

Jasmine specs for the frontend often need some DOM elements to work with. Because creating them is such a common...

drafts.csswg.org

While in CSS zero is usually referenced without specifying a unit (e.g. padding: 0), you must not use a unitless...

github.com

ActiveType::Object inherits from ActiveRecod::Base and is designed to behave like an ActiveRecord Object, just without the database...

When working with feature branches, stale branches pile up over time. It's best to remove them right after merge...

tl;dr The :is() pseudo selector - specificity of its most specific argument - matches against a comma-separated list of selectors...

tl;dr The :where() pseudo selector - zero specificity - matches against a comma-separated list of selectors. Example Compound selectors like...

developer.mozilla.org

The inset CSS property is a shorthand that corresponds to the top, right, bottom, and/or left properties. It has the...

When paginating records, we usually need to know the number of total records in order to render pagination links. Popular...

When redirecting you should take care to use the right HTTP status code. From controllers When redirecting from a controller...

It might sometimes be useful to check whether your Rails application accesses the file system unnecessarily, for example if your...

I recently had the problem that embedded code boxes crashed my layout. It turned out that pres break out of...

Code quality can be measured in four levels: (Working code) Reliable code (minimum) Readable code (ok for short-lived code...

tl;dr You can use attribute? as shorthanded version of attribute.present?, except for numeric attributes and associations. Technical Details

In Chrome DevTools you can use getEventListeners(object) to get a list of registered event listeners on the specified object...

makandra dev

To ensure a consistent code style for JavaScript code, we use ESLint. The workflow is similar to integrating rubocop...

We use foreman to start all necessary processes for an application, which are declared in a Procfile. This is very...

Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...

ImageMagick can convert SVGs to raster image formats. Example for PNG: convert input.svg output.png If the SVG has a...

Jasmine is a great way to unit test your JavaScript components without writing an expensive end-to-end test for...

You want to use fields in your applications. However, your desktop users may encounter some weird quirks: Aside from allowing...

Often people need links which are not linked directly, but should trigger execution of JavaScript. ❌ Bad workarounds