Currently browsing JavaScript

Monday, May 23, 2022

Canvas: Circles & Optical Illusions

Here is another experiment in my Canvas series. This time, I have 2 sets of circles being generated, one set…

Monday, May 23, 2022

Canvas: 2D Waves

This is the second Canvas visualization I’m experimenting with. The first one was a Julia fractal animation. Here’s some simple…

Monday, May 23, 2022

Canvas: Julia Fractal Animation

While working on my Canvas Bots project, I experimented a lot with Canvas generative art. There’s a lot of potential…

Monday, May 16, 2022

Vanilla JavaScript table date sorting

Say we have a table with dates, in the following format: We want to sort this table dynamically based on…

Monday, May 16, 2022

Tiny confirmation modal dialog in Vanilla JavaScript

A new addition to my Thin UI library, a much needed modal dialog, this script is tiny and it works…

Monday, May 16, 2022

How to add a top bar countdown for your next product sale

You can (probably) see this top bar right now, with a nice 30% off sale for my WordPress Lighthouse plugin.…

Monday, May 16, 2022

How to Create a Draggable Carousel using Vanilla JavaScript

A few months ago I added a new, fancy JavaScript carousel to my homepage. It looked and behaved great, but…

Monday, May 16, 2022

Canvas JS: Big Ball of Particles

For a while now, I had this animated, constantly exploding ball of particles on one of my landing pages. Built…

Friday, May 20, 2022

JavaScript Drag & Drop

Here’s a nice list of plain JavaScript dragging and dropping solutions. They are minimal, as they serve as proof of…

Monday, May 16, 2022

JavaScript Character Counter for Text Areas

A while ago, I had to implement a character counter for a business listing directory. The description field was supposed…

Monday, May 16, 2022

Carbon: Basic Syntax Highlighting with Zero Overhead Using JavaScript

If you have ever used PrismJS or CodeMirror or any other syntax highlighter solution, you’ll know it adds lots of…

Monday, May 16, 2022

How I Created My Homepage JavaScript Post Carousel

My homepage now features a JavaScript section of 4 featured posts. Notice the official JavaScript yellow colour ? Here’s how…