Use a flash notification to inform a user about any executed or failed event in the system.
Success flash messages are displayed against a green background:
If something goes wrong, the flash message is displayed against a red background to attract your attention.
Other flash messages have a yellow background.
Sometimes, a flash message can contain links to other pages.
Flash messages appear on the top of the screen for several seconds and then disappear.