Code0Em / lingua-sonnet

A web application to search word definitions, pronunciations and usage in poetry
MIT License
0 stars 1 forks source link

Started JS for Poetry API #12

Closed Code0Em closed 9 months ago

Code0Em commented 9 months ago

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.