-
TIL: CSS :has() Pseudo-class
The :has() pseudo-class allows you to style an element based on its descendants. It's like 'parent selectors' in CSS!
-
TIL: Python Walrus Operator (:=)
Assignment expressions allow you to assign and return a value in the same expression. Super useful in list comprehensions!
-
TIL: Git Worktree for Multiple Branches
git worktree lets you check out multiple branches simultaneously in different directories. Perfect for comparing code or working on multiple features!
-
TIL: TypeScript 'satisfies' Operator
The satisfies operator ensures type safety while preserving the exact type. Better than type assertions because it catches errors at compile time!