Browsers come with a set of built-in elements like or . When we need a new component not covered by...
A while ago I tweeted a thread about how a small JavaScript snippet, one that can fit in a single...
This is a bookmarklet you can add to Chrome or Firefox which will allow you to create a story in...
jQuery is still a useful and pragmatic library, but chances are increasingly that you’re not dependent on using it...
Capybara provides execute_script and evaluate_script to execute JavaScript code in a Selenium-controlled browser. This however is not...
WProofreader is a spelling and grammar checking tool that integrates with textareas and numerous WYSIWYG editors. While it usually activates...
The main benefit of our convention to prefix commits by their corresponding Pivotal Tracker ID is that we can easily...
CSS transitions are a simple animation framework that is built right into browsers. No need for Javascript here. They're...
General hints on the DOM the root of the DOM is document custom elements inherit from HTMLElement. They need a...
When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...
RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...
The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...
In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...
Not all versions of Node.js are compatible with each other. Also npm packages may require a minimum or maximum version...
jQuery has a function $.fn.trigger(). You can use it to dispatch an event on a jQuery object: let $element = $('.foo...
It is quite easy to migrate from CoffeeScript to ES6. You can use decaffeinate to convert your CoffeeScript source to...
Over the years we have tried several solution to have vector icons in our applications. There are many ways to...
To keep JavaScript sources small, it can sometimes make sense to split your webpack bundles. For example, if your website...
Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of...
We're always striving towards keeping our website's JavaScript as small as possible. If you're using webpack(er...
TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...
Some older Node modules rely on window.jQuery to be present. One suggested solution is to use this config in the...
PostCSS is a tool for transforming styles with JS plugins. In Webpacker you can configure the plugins and their settings...