Currently browsing JavaScript

Top Bar Countdown
Ciprian on Thursday, November 25, 2021 — 97 Views

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

You can (probably) see this top bar righ now, with a nice 30% off sale for my WordPress Lighthouse plugin. And this is how I built it, [...]

Vanilla JavaScript Draggable Carousel
Ciprian on Thursday, October 21, 2021 — 464 Views

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 it caused a massive CLS [...]

JavaScript Canvas Blob
Ciprian on Wednesday, October 6, 2021 — 393 Views

Canvas JS: Big Ball of Particles

For a while now, I had this animated, constantly exploding ball of particles on my Remake Web Design website. Built using JavaScript and [...]

JavaScript
Ciprian on Thursday, May 20, 2021 — 1,611 Views

JavaScript Drag & Drop

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

JavaScript
Ciprian on Monday, May 17, 2021 — 1,274 Views

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 to hold about 400 [...]

Carbon: Basic Syntax Highlighting
Ciprian on Tuesday, May 11, 2021 — 1,326 Views

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 dependencies bases [...]

JavaScript Post Carousel
Ciprian on Tuesday, April 27, 2021 — 1,289 Views

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 I did [...]

JavaScript
Ciprian on Monday, April 26, 2021 — 1,565 Views

🍪 How to Expire localStorage Items and Replace Cookies

I don’t use 🍪 cookies anymore, I think they are too… rigid. I use localStorage items. By default, they don’t expire [...]

tail.select npm Stats
Ciprian on Tuesday, April 6, 2021 — 1,596 Views

tail.select takeover and update

I have been using the tail.select library on 200+ WordPress websites for more than 2 years. That number is growing, as the product is a [...]

tail.select.js
Ciprian on Tuesday, March 30, 2021 — 78 Views

tail.select

HTML Select Fields as beautiful as never before tail.select is back: Create beautiful, functional and extensive (Multi) Select Fields with [...]

IntersectionObserver
Ciprian on Friday, March 12, 2021 — 1,889 Views

How I added a neat effect in 30 lines using IntersectionObserver

This is something I’ve always wanted to add to my theme, but I was afraid of the impact on the Core Web Vitals. As you scroll down, [...]

JavaScript
Ciprian on Tuesday, February 9, 2021 — 4,450 Views

How to Get and Set Query Parameters From URL

Here’s two ways to get (and set) query parameters from URL. I’ll add some real life examples in order to understand their [...]

Lighthouse 3.6 has arrived!
Privacy Policy