<html>
<body>
<p>Click "Try it". Wait 3 seconds. Your page will alert "Hello".</p>
<p>When you close the alert box, an new alert box will appear in 3 seconds.</p>
<p>This will go on forever, until you close the window.</p>
<button onclick="setInterval(function(){alert('Hello')},3000);">Try it</button>
</body>
</html>