Lastly, for our alerts, let’s add in a little interactivity. In this lesson, we’re going to make our alerts:
Dismissible, meaning that if we click a close button the alert should go away.
Self-destructible, meaning that after a defined time the alert should remove itself.