JSFiddle - React, Tailwind, and code Playground

by Superman

HTML

<div id="notice">
    notice
</div>

JavaScript

$.fn.notice = function(){
    return this.slideDown(500).delay(4000).slideUp(500);
}