πŸ”₯ There are 449 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.

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

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

51214K
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
4249.1K

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

Use JavaScript’s Collator API!

3658.2K
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
1.4K21K

πŸ”₯ Stop using rm -rf to delete files on your computer.

Use trash instead

2.2K27487338
1.3K3311331K

πŸ”₯ Make a webcam photobooth app in about 15 lines of JavaScript

4498.6K
698121018K
82310613294

πŸ”₯ Format relative time amounts - like "2 seconds ago" - with the JS Intl.RelativeTimeFormat() API

1.4K544225K
1454.7K
1.4K19726424

πŸ”₯ Use TypeScript's never to enforce "one or the other" properties on a type

1K10220202
4889.8K
6.7K185116125K

πŸ”₯ Emojis like πŸ‘¨β€πŸ‘§β€πŸ‘¦ and πŸŽ…πŸΏ are actually made up of multiple emojis and a special character called a β€œZero Width Joiner”

77916K
12K565115152K
2.2K27418251