logoalt Hacker News

spartanatreyu01/20/20251 replyview on HN

I didn't need any JS here:

  <dialog open>
    <p>Greetings, one and all!</p>
    <form method="dialog">
      <button>OK</button>
    </form>
  </dialog>

Replies

robertoandred01/20/2025

And if you don’t want it open when you load the page?

show 1 reply