How to remove the desired text on the page after the time I need?
The logic is simple:
When adding an article, this line comes out through the template engine.
the code in the template:
<p style="color: green">Статья успешно добавлена</p>
It is necessary to implement a function that will remove this line after some time.
I myself know that there are many options to implement it, but I need the most optimal one, which will not load the server, will be fast and beautiful.
To place the code, please use CodePen or similar tool. Thanks you!