Jquery – Add class to children based on data attribute of parent
I have a simple difficulty scale. As I only know some basics of jQuery and JavaScript I don't know what I'm searching for. I want to add the class active to the item based on the data-attribute of the parents…