Javascript

View All Categories
Wed Jan 16, 2019 4:33 PM
guide
The ability to like or favorite posts is very common on websites. This guide will show you how to add this functionality to your Rails 5 application without adding unnecessary bloat from gems. This guide assumes that you have already implemented posts (or similar) and users to your application and will not cover these steps. Let's go over some design considerations before we begin. While everyone can view a post, only authenticated users can like posts by clicking a link or icon.  We're keeping it positive by just tracking likes.more
Wed Jan 16, 2019 2:05 PM
activity
Liking posts functionality from scratch in Rails 5
Tue May 08, 2018 6:21 PM
activity
provides autocompletion and tagging UI
Mon May 07, 2018 1:48 PM
activity
Turbolinks and Font Awesome 5 SVG with Javascript
Mon May 07, 2018 1:18 PM
guide
Font Awesome 5 SVG icons use javascript to find <i> tags with an icon class and replaces them with an <svg> tag. Turbolinks online displays these icons on initial page load and/or refresh, however when following a link, Turbolinks reloads the page and not the icons. This guide assumes that you have already loaded font awesome into your project using your preferred method. For what its worth, this guide uses the font awesome CDN more
Fri Apr 27, 2018 1:02 PM
activity
replace Foundation 6 top-bar