I am having a problem with making my quote machine work. I have been looking at this code for hours.
Now, I am going to suck up my pride and ask for help.
I know it is somewhere in there. PLEASE I NEED HELP!
Here is my code below:
If you are using Chrome, then use Ctrl+Shft+I to view the browser’s console. Then you will see where the error is.
Check your scope (placement of curly braces) and jQuery selector syntax (classes should start with
Also, consider keeping all your quote/author data in a single array of objects — it’s cleaner, more logical, and less error-prone that way (you can refer to
quotesArray[index].quote or similar).