re: Matching elements with selectors in JS VIEW POST

FULL DISCUSSION
 

I used closest to refactor some recursive code recently! It's a super cool method. I didn't know about matches though -- so thanks 😊

How are you finding daily code blogging?

 

Matches is probably less useful but is really a precursor to closest.

Daily blogging is going well but—having a newborn is complex, we've lots of medical appointments—so I've slipped a bit so I'm now making each post about ~2 hours before my artificially self-imposed deadline (midnight on the day, in Sydney time).

I have a remarkably large short list of topics that I'd like to blog about, so I'm not low on ideas. I just need to build up a buffer again 🤣

code of conduct - report abuse