How to Query Elements using Data Attribute in JavaScript

How to Query Elements using Data Attribute in JavaScript