h when clicked. However, the EventListener is added to the element before the element is added to the DOM.
    </p>
</body>

<script>
    function showSecretButton() {
      const id = "secretbutton";
      if (document.getElementById(id) == null){
          var tag = document.createElement("button");
          tag.textContent = "click this secret button";
          tag.id = id;
          tag.addEventListener("click",() => {
              fetch("/test/javascript/interactive/multi-step-request-event-listener