Finally finished my random quote machine after hours of coding. I didn’t want to focus on the styles like changing background colors too much I can change those later.
For anyone interested, I took extra jQuery lessons here: https://www.youtube.com/watch?v=hMxGhHNOkCU&list=PLoYCgNOIyGABdI2V8I_SWo22tFpgh2s6_
The tutorials cover jQuery and Ajax so I would highly recommend them.
Feel free to use this API as well: http://quotes.stormconsultancy.co.uk/api,,, and in codepen add https://crossorigin.me/ before the API url at all times ie https://crossorigin.me/http://quotes.stormconsultancy.co.uk/quotes.json/
As always comments or advise on how to make my code cleaner are welcome.