JS: Constructed API url for PoetryDB. Created function which “fetches” a random poem from the API. Created event listener on generate poem button (so that when the user selects the button, the above "fetch" function is called).
HTML: Added some more ids, so can grab these references for the JS.
JS: Constructed API url for PoetryDB. Created function which “fetches” a random poem from the API. Created event listener on generate poem button (so that when the user selects the button, the above "fetch" function is called).
HTML: Added some more ids, so can grab these references for the JS.