jquery target element with data attribute code example
Example 1: jquery select element with data
$('[data-attribute="value"]');
Example 2: jquery find by data attribute
$('.slide-link[data-slide="0"]').addClass('active');
$('[data-attribute="value"]');
$('.slide-link[data-slide="0"]').addClass('active');