Build a Random Quote Machine ---- HELP!

Tell us what’s happening:
I get this error messge, “Use external scripts for event binding instead.”, every time I check for errors in my html code, which doesn’t allow me to use the onClick attribute or onLoad, in the example it seemed the programmer used ‘span’ but not sure how that would help me at all, any suggestions? Here is a link to my codepen as well https://codepen.io/DevinCassidy/pen/joYZxM

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36.

Link to the challenge:

The line

var authors=["Albert Einstein", ]

has a missing semi-colon at the end. Also, the array seems to be expecting a second element at index 1. Perhaps it is best to remove the comma.

Not sure why you’re receiving that error. External scripts would be what’s inserted into the markup. Instead of having a separate file for JS. Something about -

<scripts></scripts>

that has been laid out in mark-up (html) might be the culprit.