When an event listener on a DOM element throws an error, that error will be silenced and not interrupt your...
Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.
To make CSS rules dependent on the screen size, we use media queries: @media (max-width: 500px) { // rules for screen...
The linked GitHub repository is a bit like our "dev" cards deck, but groomed from a single person (Josh Branchaud...
When we write a form with date fields, we often use graphical data picker like Rome to get a consistent...
To set a default Node version for new shells, use nvm alias default : nvm alias default 1.2.3
To test that an object was constructed by a given constructor function, use jasmine.any(Klass): describe('plus()', function() { it ('returns...
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...