How to use chaining in jQuery?

In jQuery, chaining represents a powerful technique that enables you to efficiently execute multiple jQuery operations on the same element

Here's a basic example of chaining in jQuery:
<!DOCTYPE html>
    <title>jQuery Chaining</title>
    <script src=””></script>
    <div id=”myDiv”>Hello, jQuery Chaining!</div>
        To illustrate this concept, we can take a look at the following code snippet:
        // Chaining example
            .css(“color”, “blue”)