flashes messages js
v1.2

append flash function append the flash automatically to body!
success-flash
error-flash
info-flash
not-allowed-flash
generate flash function returns flash as one element
<link rel="stylesheet" href="https://cdn.baramex.me/libs/js/flashes-messages/flashs.css">
<script src="https://cdn.baramex.me/libs/js/flashes-messages/flashs.js"></script>Head:
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<link rel="stylesheet" href="https://cdn.baramex.me/libs/js/flashes-messages/flashs.css">
<script src="https://cdn.baramex.me/libs/js/flashes-messages/flashs.js"></script>Body:
<body onload="appendFlash('info-flash', 'loaded!');">
</body>The icons come from paomedia