DOM manipulation : modify the DOM according to the result of the request.
Don't forget HTML semantics (blockquote..)
- Send a request to a remote server via javascript using async/await and try/catch.
- Treat the answer :
- If the request failed, show an error message to the user.
- if the request succeed, transform a JSON response into Html, injected in the DOM.
- Make a button to generate another random quote.
- Make it look good via CSS (inspiration).
- Publish it as a GitHub Page
Use the agify API to guess the age of the authors Implement loader wihle the request is pending
loader(https://www.cssportal.com/css-loader-generator/)
👯 ** I like javascript and I discover JSON with fetch, API and DOM !** 👯