CrawlMaze - Testbed for Web Crawlers - multi-step request with div EventListener before DOM addition

multi-step GET method with EventListener before adding to DOM

When the 'show secret button' button is pressed, a new div is created in JavaScript. This new div has an EventListener that executes a GET request via JavaScript fetch when clicked. However, the EventListener is added to the element before the element is added to the DOM.