Can anyone possibly help?
my code pen is:
I am trying to complete the random quote generator with vanilla js but i’m really stuck.
Am i returning the data in the correct format, as far as i know i am returning a json object, (i’m using a gist from my own git page: https://gist.githubusercontent.com/char502/abbd19ab22972fa732a33f1bfda04ad8/raw/a4582b8aa8b634a99d773bd66232cca1702952f3/Quotes,json is that ok, will it work?) is it coming back in the correct format or do i have to change it to something else before i can work with it - for random quote generating purposes - (it looks ok when i console.log(obj)? -
i.e. what form should it be in and how can i refer to it in the code further down (i.e. the random variable and the click event)
Is a click event listener the correct way to go to get a working button for this?
How do i make the button return random quotes, at the moment i can only get it to return the last quote in the list
Sorry if these seem stupid questions, i’m really new at this and trying to improve my vanilla js