How to use the if statement in SetInterval

Well done!