JSFiddle - React, Tailwind, and code Playground

HTML

<p>Text one</p>
<p>Text two</p>
<p>Text three</p>
<p>Text four</p>

JavaScript

(function($) {
    $.fn.highlite = function(options) {
        this.css({
            "background": "yellow"
        });
        return this;
    };
})(jQuery);

(function($) {
    $.fn.makeRed = function(options) {
        this.css({
            "color": "red"
        });
        return this;
    };
})(jQuery);

$(document).ready(function() {
    $('p').highlite().makeRed();
});