Needing help on Random Quote Machine

Needing help on Random Quote Machine
0

#1

I have no idea why I can’t generate a quote here, any help is greatly appreciated.


#2

If you look in the JS section, you will see a red exclamation point. If you click it, it will give you the following message:

Line 12: Unexpected token ;

Why? Because you have an if else statement and it does not expect a semi-colon after the closing } of the else. Once you fix that, you will still see a red exclamation point. Click on it again, and you will see the following message:

Line 13: Unexpected token }

Why? Because your getJSON is missing a closing ); after the line 13 }.

Fix this second issue and your code will work.


#3

Thank you @RandellDawson, I think I just needed some fresh eyes to look it over. One… step… closer…