Hello, I have this below which causes an alert after 10 seconds. How would I keep the alert going every 10 seconds after? Please let me know, thank you very much.
//If the time is less than 10,
//you will get a "Good morning" greeting.
//Otherwise you will get a "Good day" greeting.
var d = new Date();
var time = d.getSeconds();
if (time > 10)