In programming it is very common to have to apply the same processes to a large amount of data, for this we use cycles, which allow us to repeat the execution of the same code. Below are two examples, the for loop and the while loop.
Similar to css selectors, we have operations that return one or more elements of the document. Check out the comments in the example below.
Operations with multimedia elements
Media elements in particular have attributes and special events that other elements do not. In the example we see some attributes of the video element.
Operations with events