bestpractic.org
Blog Quizzes Packages Learn soon Courses soon
GitHub Sign in Get Started
Blog/Frontend
Topic

Frontend

44 articles on Frontend — each with a runnable playground and a quiz.

Articles

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
TypeScript

You still write finally { resource.close() }. The using keyword does it automatically.

Jul 24 · 4 min
JavaScript

You've been doing Set math by hand. JavaScript finally shipped .union(), .intersection(), and friends.

Jul 23 · 4 min
JavaScript

Your scroll listener fires on every pixel. IntersectionObserver fires when visibility actually changes.

Jul 19 · 4 min
CSS

You're using Floating UI to position your tooltip. The browser does it natively now.

Jul 18 · 5 min
CSS

Your margin-left doesn't exist in Arabic. CSS logical properties fix that.

Jul 17 · 5 min
page 2 of 4
Newer Older

Other topics

webdev 50javascript 45css 18typescript 9performance 7react 5node 4ai 3tutorial 3html 3
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 DevelopmentLanguages

© 2026 bestpractic.org

PrivacyTermsGitHub