๐Ÿ”ฅ There are 433 Hot Tips!!

Hot tips are spicy lil' nuggets related to web development and tooling that I share on my twitter account. I've logged them here to make them easier to find.

๐Ÿ”ฅ Did you know you can use type=โ€œmoduleโ€ in a script tag block? Import external dependencies and use top level await without any tooling!

1.3K222727K
6298111124
762

๐Ÿ”ฅ Use CSS :has() to select items based on what children they have.

This :has() never been possible in CSS before this and is pretty exciting.

1.7K453525K
1144
1.2K16122300

I made a browser extension to detect who has paid $8 for their blue checkmark

2.1K263545K
17K1.9K1461.3K

๐Ÿ”ฅ JS Fundamentals: what is truthy and falsy?

17418428
203525.7K

๐Ÿ”ฅ Use CSS :where() to select multiple children inside a parent selector.

Super handy for H1 โ†’ H6 and selecting all inputs inside a form.

1.4K613022K
1K12221250
1098

๐Ÿ”ฅ Since Arrays are Objects in JavaScript, you can use object destructuring on an array to get values like first, middle and last.

1K444020K
7679822154

๐Ÿ”ฅ Ever try sort a list of strings, but get tripped up by capitals and accented characters?

Use JavaScriptโ€™s Collator API!

846
6827514169
3835148.5K

๐Ÿ”ฅ 3 neat things you can do with Array destructuring in JavaScript

96512315244
776151615K

I got banned from LinkedIn for writing JS ๐Ÿ˜†

7.1K674195814
16K374178305K

๐Ÿ”ฅ Stop using rm -rf to delete files on your computer.

Use trash instead

2.2K27487338
1.3K3311331K