If you’re using jQuery, you can do `$(el).data('attr')`, but be careful—it caches values after the first read!
Vanilla JS is safer for javascript get data attribute stuff.
Also, `.dataset` is more “modern” but `getAttribute()` is more predictable.
Vanilla JS is safer for javascript get data attribute stuff.
Also, `.dataset` is more “modern” but `getAttribute()` is more predictable.
