Wow, thanks for all the replies! Didn’t realize there were so many ways to tackle how to find array of properties by data attribute javascript.
Tried the `dataset` + `filter` combo, and it worked like a charm.
One follow-up—any performance gotchas with huge DOMs? Saw someone mention `getElementsByClassName`, but is it really that much faster?
Thanks again, y’all are legends! 🚀
Tried the `dataset` + `filter` combo, and it worked like a charm.
One follow-up—any performance gotchas with huge DOMs? Saw someone mention `getElementsByClassName`, but is it really that much faster?
Thanks again, y’all are legends! 🚀
