As a web developer, you know Google Analytics (GA). Probably you've dropped the GA snippet into more than one...
Why secure-only cookies used to be necessary Cookies have an optional secure flag. It tells the browser to not...
The linked article lists a number of techniques that were best practices with ES5, but have better alternatives in modern...
If possible your code should detect features, not browsers. But sometimes you just need to sniff the browser. And when...
Since late 2015, all major browsers (still excluding Firefox) support pointing device media queries. These can be used to distinguish...
A matcher is a function that returns an object with a compare key. Usually it is registered with beforeEach...
CoffeeScript and JavaScript (ECMAScript) both have operators in and of. Each language use them for more than one purpose. There...
Using the JS fullscreen API is painful because all browers use different methods and events and you need to use...
When your JavaScript bundle is so massive that you cannot load it all up front, I would recommend to load...
You know that you can use jQuery's text() to get an element's contents without any tags.
Webpacker uses Babel and Webpack to transpile modern JavaScript down to EcmaScript 5. Depending on what browser a project needs...
Touch devices have their own set of events like touchstart or touchmove. Because mobile browsers should also work with with...
When you need test images, instead of using services like lorempixel or placehold.it you may generate test images yourself.
If you have a single node elasticsearch instance and indices with replicas enabled your cluster state will be yellow. If...
You need to update a lof gems. Make sure you don't have any version constraints in your...
In Spreewald 1.10.4+, nested patiently blocks are now patient. Here is an example: patiently do outer_code patiently do
Form fields can be rendered as noneditable by setting the disabled or the readonly attribute. Be aware of the differences...
Sometimes it's necessary for you to check which ports are in use on your local machine and which process...
Font Awesome version 5 changed some icon names, and introduces new prefixes fab, far, and fas. There is a JavaScript...
Rails applications and ruby gems should have a README that gives the reader a quick overview of the project. Its...
wrap the text with a span use line-height for the spacing between lines ("margin")
To check if a method has been called in Jasmine, you first need to spy on it: let spy = spyOn...
If you try to listen to events on elements that are nested inside a , Firefox will stop event propagation once...
By default, browsers will not wrap text at syllable boundaries. Text is wrapped at word boundaries only. This card explains...