t")
  }

  function displayAlertAfterDelay() {
    setTimeout(() => {
      alert("hello delayed\nalert")
    }, 200)
  }

  function displayConfirm() {
    if (confirm("hello\nconfirm")) {
      document.getElementById('message').innerText = 'confirmed';
    } else {
      document.getElementById('message').innerText = 'denied';
    }
  }
</script>
</body>
</html>