James McGrath

Category: JavaScript

4 posts in this category

Recently I was using swiper.js to make a slide show. One of the features that was requested was to have pagination with dots on the bottom and a fraction counter in the top right like Instagram....
Published on Jul 24, 2021
Reading time: 3 minutes
Let's look at how to find an item in an array of objects if we know one of the object's properties.
Published on May 17, 2020
Reading time: 1 minute
Maybe you have heard that "eval is evil?" If you haven't take a few minutes to read <a href="https://humanwhocodes.com/blog/2013/06/25/eval-isnt-evil-just-misunderstood/">eval() isn't evil, just...
Published on Jan 27, 2020
Reading time: 2 minutes
Several years ago I was tasked with making a font resize function for a website I was working on. At that time I made it in jQuery. That version can be seen on codpen Font Resizer
Published on Nov 04, 2019
Reading time: 5 minutes