Privacy. Shows 404 not found page. Error messages Error messages should be displayed when an operation couldn't be completed at all. And, if you want the alerts to slowly fade out when you click on them, add opacity and transition to the alert class: Example