Hide dismissed notifications with jQuery and cookies
Here’s an example of the html and JS.
This uses jQuery but can be easily rewritten to have no dependencies.
If you have a better way of doing this, or any comments, please let me know!
A demo can be seen on CodePen.