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

Webdev

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

Articles

JavaScript

You're collecting async iterable results with a for-await loop. Array.fromAsync does it in one call.

Aug 5 · 4 min
CSS

Your browser renders everything, even what you can't see — content-visibility: auto fixes that

Aug 4 · 5 min
Security

CORS Explained: The Complete Guide (with Cheat Sheet)

Aug 3 · 15 min
JavaScript

Your UI is freezing because you never gave the browser a break

Aug 3 · 5 min
CSS

You're writing dark-mode colors twice. light-dark() fixes that.

Aug 2 · 5 min
JavaScript

You've been wrapping new URL() in try/catch. URL.parse() does it natively.

Aug 1 · 5 min
CSS

CSS has no native scoping. @scope changes that.

Jul 31 · 5 min
JavaScript

Array methods are eager. Iterator helpers are lazy. Here's why that matters.

Jul 30 · 5 min
CSS

You reach for Sass to mix colors. color-mix() does it natively.

Jul 29 · 4 min
CSS

You hand-edit headlines to avoid orphaned words. text-wrap: balance does it natively.

Jul 28 · 4 min
JavaScript

You're watching window to detect element size changes. ResizeObserver watches the element itself.

Jul 26 · 4 min
CSS

You use a setTimeout to trigger CSS entry animations. @starting-style makes it unnecessary.

Jul 25 · 4 min
page 12 of 15
Newer Older

Other topics

javascript 141frontend 96tutorial 71css 51performance 30typescript 25react 20programming 19browser 18node 16html 12nextjs 11
bestpractic.org

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

Learn

Learning pathsBlogQuizzesPlaygrounds

Community

PackagesSubmit a packageCollectionsCollaborate

Platform

PricingCollaborate

Sections

Web DevelopmentLanguagesSoft Skills

© 2026 bestpractic.org

PrivacyTermsGitHub