It means the element has two H1
tag and css class t102__title
, begin to build the structure.
The first thing we have to write it $("")
, is now between the double quotes we point H1
tag and open the brackets, it turns out this code $("h1")
, now the script understands that it is necessary to apply the animation to the elements with the tag H1
, but since we can have no element H1
, so we need to additionally specify a class or attribute the appropriate item. To this end, in brackets write class='t102__title t-title'
, ie classes of our element separated by a space, do not forget to wrap apostrophes.
If you need to apply this animation to multiple items, you can list them with commas, as in my code
For more information about the use of jQuery selector for finding items, read here