DEV Community

JavaScript

Once relegated to the browser as one of the 3 core technologies of the web, JavaScript can now be found almost anywhere you find code. JavaScript developers move fast and push software development forward; they can be as opinionated as the frameworks they use, so let's keep it clean here and make it a place to learn from each other!

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Building 2D Game Feel in Vanilla JS: Camera Shake, Hitstop, Springs & Object-Pooled Particles

Building 2D Game Feel in Vanilla JS: Camera Shake, Hitstop, Springs & Object-Pooled Particles

Comments
3 min read
Our homepage writes 11,400 inline styles a minute while nobody touches it, and scrolling past the animations does not stop them

Our homepage writes 11,400 inline styles a minute while nobody touches it, and scrolling past the animations does not stop them

1
Comments
5 min read
Why Most Cookie Banners Still Leak GTM & Meta Pixel Before Consent (And a 12KB Open-Source Fix)

Why Most Cookie Banners Still Leak GTM & Meta Pixel Before Consent (And a 12KB Open-Source Fix)

Comments
2 min read
TrailBound — Drive a Jeep through a jungle reserve, solo or with friends [Free Browser Game]

TrailBound — Drive a Jeep through a jungle reserve, solo or with friends [Free Browser Game]

Comments
1 min read
Our installer window is 540 by 380 points, and nobody in our repository chose that, or the background, or where the icon sits

Our installer window is 540 by 380 points, and nobody in our repository chose that, or the background, or where the icon sits

1
Comments
7 min read
885 of our 1,522 functions take exactly one argument, and the widest one is seven numbers that draw a shrub

885 of our 1,522 functions take exactly one argument, and the widest one is seven numbers that draw a shrub

1
Comments
6 min read
Compressing PDFs Entirely in the Browser with pdf.js and pdf-lib

Compressing PDFs Entirely in the Browser with pdf.js and pdf-lib

Comments
4 min read
Real-ESRGAN tile seams: the biggest pixel errors were on lines and text, not the sky

Real-ESRGAN tile seams: the biggest pixel errors were on lines and text, not the sky

Comments
4 min read
29 Mach-O binaries in our Mac app, and the only one carrying two architectures is a file watcher we never call

29 Mach-O binaries in our Mac app, and the only one carrying two architectures is a file watcher we never call

1
Comments
6 min read
2,119 nulls and 275 undefineds in one TypeScript codebase, and Postgres decided the ratio

2,119 nulls and 275 undefineds in one TypeScript codebase, and Postgres decided the ratio

1
Comments
5 min read
Coding a Puppy Growth Predictor: Handling Non-Linear Scaling in JS

Coding a Puppy Growth Predictor: Handling Non-Linear Scaling in JS

Comments
2 min read
I fetched our pricing page as 20 clients and got four different documents, because two regexes are arguing

I fetched our pricing page as 20 clients and got four different documents, because two regexes are arguing

1
Comments
6 min read
Sort Stock Quantities as Numbers Without Reordering the Source Snapshot

Sort Stock Quantities as Numbers Without Reordering the Source Snapshot

Comments
2 min read
Is This Height Comparison Up to Scale? How to Draw One Correctly in JavaScript and SVG

Is This Height Comparison Up to Scale? How to Draw One Correctly in JavaScript and SVG

Comments
13 min read
__gCrWeb, __firefox__ and Script error.: filtering errors your site never threw

__gCrWeb, __firefox__ and Script error.: filtering errors your site never threw

Comments
4 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.