A simple toastr package.
A simple and fast way to get started is to include it on your page:
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/style.css">
<script src="https://unpkg.com/[email protected]/dist/build.js"></script>
This will create the global variable toast
.
<script>
toast.success('Your password has been changed')
toast.error('An error occurred!')
</script>