bestpractic.orgbestpractic.org
Blog Quizzes Packages Games Learn soon Courses soon
Sign in Get Started
Blog/Webdev
Topic

Webdev

107 articles on Webdev — each with a runnable playground and a quiz.

Articles

JavaScript

Stop Writing Regex to Match URLs — The Browser Already Can

Aug 20 · 6 min
CSS

Stop Writing Media Queries for Font Size

Aug 19 · 4 min
CSS

I Ripped Out a Carousel Library. CSS Replaced It.

Aug 18 · 4 min
CSS

Stop Writing Math.cos() in a Resize Listener

Aug 17 · 4 min
CSS

I Can Finally Delete My max-height: 9999px Animation Hack

Aug 16 · 6 min
JavaScript

Five tabs open, one refresh token — the race nobody noticed

Aug 15 · 5 min
JavaScript

You copy and reverse the array to find the last match. findLast() searches from the end directly.

Aug 14 · 4 min
JavaScript

Your fetch() in beforeunload is being silently dropped. Use navigator.sendBeacon().

Aug 13 · 4 min
CSS

You're blocking touchmove events to contain scroll. overscroll-behavior does it natively.

Aug 12 · 4 min
JavaScript

You're polling setInterval to detect DOM changes. MutationObserver fires when they happen.

Aug 11 · 4 min
JavaScript

You're importing pako to gzip data. CompressionStream does it natively.

Aug 10 · 4 min
JavaScript

Stop using the localStorage hack to sync browser tabs. BroadcastChannel does it natively.

Aug 9 · 4 min
page 5 of 9
Newer Older

Other topics

javascript 89frontend 72css 36tutorial 35typescript 15react 13performance 12node 9browser 9html 7accessibility 7programming 6
bestpractic.org

One platform for the things worth learning properly — and the tools that come out of learning them.

Learn

CoursesLearning pathsBlogQuizzesPlaygrounds

Community

PackagesSubmit a packageCollectionsCollaborate

Platform

PricingCollaborate

Sections

Web DevelopmentLanguagesSoft Skills

© 2026 bestpractic.org

PrivacyTermsGitHub