Hello Tina
you can simply create a simple css notification it doesn't need any jquery or anything complicated
if the timestamp is numerical i.e 20200117110240 or can be converted to single numerical number without dots and dashes etc
$lightningtime ='20200117110240';// timestamp year month day hour minutes seconds 2020 01 17 11 02 40
$lightningtimeago<600 = 15 minutes ago (600 seconds) you could set that to anything you wish
<div class=notifications> would be the appearance and positioning of the alerts
example
<?php if ($lightningtimeago == 0) { echo ""; } else if ($lightningtimeago<600){ echo "<div class='notifications'>".$lightningdistance."</div>; }?>
example of what appears on my site
if you need help let us know but don't expect anything overnight but do a search on google for css notifications and look for some ideas or inspiration how you would like it to appear here is a starter
https://freshdesignweb.com/jquery-css-notification/ ps I like you new web design easy to read and informative
example of what appears on my site and disappears after 10 seconds and continues to appear every 2 minutes upto 15 minutes if no strikes within last 15 minutes nothing appears .
[ You are not allowed to view attachments ]