In previous lessons, we have learned how to write jQuery commands one at a time. In actual fact, we can combine the jQuery commands or methods together, the process is called chaining. The selector is:
or you can place them on seperate lines.
$(selector) .method1 .method2 .method3 . . .methodN;