JSFiddle - React, Tailwind, and code Playground

by Joshua Koudys

HTML

<body>
     <h1>First Header</h1>

     <h2>Second Header</h1>
</body>

JavaScript

$.fn.zoomyupdate = function (newtext) {
    this.text(newtext).animate({
        "zoom": "200%",
        "color": "#f00"
    }, "250ms");
}
$("h1").text("Updated the h1s").animate({
    "zoom": "200%"
}, "250ms");
$("h2").zoomyupdate("Using my fancy function");