JSFiddle - React, Tailwind, and code Playground
by karim79
JavaScript
var div = $('<div />').attr('id', 'error')
.html('Cannot Be Blank')
.hide();
$('body').append(div);
$("#error").fadeIn("slow", function() {
$(this).fadeOut("slow", function() {
$(this).remove();
});
});