SyntaxFix
Write A Post
Hire A Developer
Questions
Use Attribute Equals Selector
$('.slide-link[data-slide="0"]').addClass('active');
Fiddle Demo
.find()
it works down the tree
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.