4,176 karma · joined December 22, 2016
I search for "retro pc":
1st result 47k views, 4 months ago
2nd result 457k views, 2 years ago
3rd result 9k views, 1 year ago
4th result 133k views, 1 year ago
5th result 1k views, 5 months ago
Make it make sense!
div[data-my-data^="my-prefix"] (selects by prefix)
div[data-my-data$="my-suffix"] (selects by suffix)
div[data-my-data*="my-substring"] (selects by substring)
Quite a few more of these:
https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_s...
Element.hasAttribute('data-thing')
Element.getAttribute('data-thing')
Element.setAttribute('data-thing', '...')
Much more clear what I'm doing without the awkward translating when I inevitably have to inspect/debug in the DOM.
You mean, the people who actually do the work?
I personally found this blog article to be quite insulting to my own intelligence by peppering in these pseudo-intellectual clichés like 'paradox of tyranny'.