You can use the (Network Information API)[https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation] to get information about the connection a device is using.
Target the button of an
<type="file"> using the
CSS: When an item is being hovered, select all the other items, but not the one that is being hovered.
You can type ”.” when you’re in a Github repo and Github will open the repo in VSCode web for you
There exist a binary search algorithm to easily manage text-wrapping. Useful for page header.
grid-auto-flow property takes up to two values. row, column, dense, row dense, or column dense.
You can pass an
options object, which only has a single property, to the
focus() method to prevent scrolling on focus.
fireEvent in Svelte Testing Library is async because it’s calling tick() under the hood
You can delete forward using “fn + delete” in macOS
We can use the :empty selector in CSS to hide empty DOM element without JS.