#javascript

[ follow ]
Web development
fromjQuery Script
12 hours ago

Realistic Fireworks Animations Using Canvas - fireworks.js

fireworks.js generates realistic, configurable HTML5 canvas fireworks animations with multi-framework support and responsive, nonintrusive background placement.
#bot-detection
Web development
fromeLearning
4 days ago

Add a Toggle Switch to Your Project - eLearning

A toggle switch can be added with HTML, styled with CSS, and its ON/OFF state read with JavaScript to control UI behavior.
fromVerou
1 week ago

Web dependencies are broken. Can we fix them? * Lea Verou

Dear JS ecosystem, I love you, but you have a dependency management problem when it comes to the Web, and the time has come for an intervention. No, this is not another rant about npm's security issues. Abstraction is the cornerstone of modern software engineering. Reusing logic and building higher-level solutions from lower-level building blocks is what makes all the technological wonders around us possible. Imagine if every time anyone wrote a calculator they also had to reinvent floating-point arithmetic and string encoding!
Node JS
JavaScript
fromPiccalilli
1 week ago

Date is out, Temporal is in

JavaScript's Date API is poorly designed, confusing, and limited, using Unix millisecond timestamps and lacking robust parsing, timezone, and calendar features.
JavaScript
fromAlex MacArthur
6 days ago

I used a generator to build a replenishable queue.

Use generators plus promises to implement a replenishable FIFO queue that stays alive and pauses when empty, resuming when new items arrive.
JavaScript
fromAllthingssmitty
6 days ago

Stop turning everything into arrays (and do less work instead) - Matt Smith

Iterator helpers provide lazy, chainable methods on iterators to avoid intermediate arrays, reduce work, and stop computation once enough values are retrieved.
Privacy technologies
fromZacks
1 week ago

Pardon Our Interruption

Browser settings (disabled JavaScript, disabled cookies, rapid navigation, or privacy plugins) can trigger anti-bot detection and block access; enable JavaScript and cookies to regain access.
#cookies
#web-development
fromwww.jqueryscript.net
3 weeks ago
Web development

Weekly Web Design & Development News: Collective #636

A curated weekly roundup of updated JavaScript/CSS libraries, dev tools, design assets, and Top 10 lists refreshed for 2026, plus festive resources and freebies.
fromArs Technica
1 month ago
Web development

In 1995, a Netscape employee wrote a hack in 10 days that now runs the Internet

JavaScript became the dominant interactive web programming language after a ten-day origin, now running on nearly all client-side websites.
JavaScript
fromjQuery Script
1 month ago

Performant Drag And Drop JavaScript Library - Draggabilly

Draggabilly provides performant, touch-friendly draggable behavior with containment, grid snapping, custom handles, and drag-state styling for any DOM element.
Web development
fromRaymondcamden
1 month ago

Using Chrome AI for Color Suggestions

Chrome's built-in AI can convert natural-language color descriptions into 1–5 web-ready hexadecimal RGB values plus a brief explanatory description.
fromSearch Engine Roundtable
1 month ago

Google Shopping Crawlers Are Too Fast To See JavaScript/Dynamic Structured Data

Yes, the shopping crawler has to consume shopping structured data incredibly fast so it has up-to-date pricing, inventory, availability and so forth for the Google Shopping Graph. Because of the speed and quanity of feeds it needs to consume over-and-over again, it does not have time to wait for JavaScript to dynamically generated the structured data.
E-Commerce
fromSlicker
1 month ago

Newton's Cradle Tutorial

Step 2: Initialize Canvas and Constants Set up the canvas context and define the physical parameters of your cradle: const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); const numBalls = 5; // Number of balls in cradle const ballRadius = 20; // Radius of each ball const stringLength = 150; // Length of pendulum string const frameY = 50; // Y position of top frame const spacing = ballRadius * 2 + 2; // Space between balls const centerX = canvas.width / 2; // Center of canvas let balls = []; let dragging = null; // Track which ball is being dragged
JavaScript
JavaScript
fromwww.jqueryscript.net
1 month ago

Carousel & Marquee Like Scrolling List Plguin - Scrollbox.js

Scrollbox is a lightweight, customizable ES6+ JavaScript plugin (optional jQuery) for smooth vertical or horizontal content carousels with autoplay and dynamic feeding.
[ Load more ]