JavaScript

Recent Posts

  • Converting SVG files to PNG

    Many CMS applications do not allow an .svg as an allowed file type to be uploaded as a media image, such as for the site logo. This post will demonstrate how to go about converting SVG files to PNG format using JavaScript. Firstly, open the SVG file to be converted in a browser and copy…

    View Post »

  • Create a JavaScript Countdown Timer

    This post will describe how to create a JavaScript countdown timer using a reusable class. The jQuery library is used in this example because of its popularity, however it is very easy to amend the class to just use pure JavaScript. To start with, two of the very basic components needed to implement the timer…

    View Post »

  • Getting Started with Grunt

    Grunt is a JavaScript task runner used to automate tasks such as minifying assets, compilation and other repetitive tasks. Getting started with Grunt is easy: simply install the CLI, create a package.json and a Gruntfile file, and run the Grunt command. To install the CLI on your machine and allow the use of running the…

    View Post »