Using Font Awesome 5 with TurboLinks and Stimulus

Font Awesome 5 brings "svg with js", but that can be tricky to set up in a Ruby on Rails app with TurboLinks. Using Stimulus.JS to install Font Awesome 5 makes it simple.

railsstimulusturbolinksfontAwesome

groupBy() in Javascript

Use Javascript’s reduce method to build your own .groupBy() method that groups an array by each object’s property value.

javascriptfunctional programming

Multiple Line Ellipsis CSS Effect

Adding an ellipsis… to the end of a block of text is made simple with this tutorial. The length of dynamic content can really hurt your design, but adding a block ellipsis ensures only the right number of lines are displayed.

CSS

join the newsletter

or don't, what do we care? but if you do, we promise to send cool stuff