The query selector in the dash()
method operates on class names:
var hypePaths = document.querySelectorAll('.path');
Therefore you need to add a Class Name in the Document Inspector of "path
":
The query selector in the dash()
method operates on class names:
var hypePaths = document.querySelectorAll('.path');
Therefore you need to add a Class Name in the Document Inspector of "path
":
When I choose ‘path’ it works.
Why, if I choose another name as class and then edit the name also in the code it does not work? It is mandatory to use ‘path’?
The second selector is a tagselector
not meant to be changed (as you can see there's no dot in front) ... just the first has to be changed. you've been to greedy in changes
OK thank you.
I was misled because in the code both ‘path’ were in color.
I'm not a developer this is why I don't have a clue…