Random Quote Machine help (again)

Random Quote Machine help (again)
0.0 0

#1

I’ve been following a guide on youtube closely on how to create a random quote machine from scratch. However the quote and author simply does not display. When I hit the share button, the tweet just says “undefined – undefined” instead of “quote – author name”. Any idea what I could be doing wrong here?


#2

Seems like it’s 2 things:

  • CORS problems (use the https version of the API)
  • “success” is misspelled

#3

I want to shoot myself.

Much appreciated friend.


#4

We’ve all done the “I can’t believe I misspelled one little word and spent an embarrassing amount of time looking for the problem” thing. It won’t be the last time. :wink:


#5

No problem! Yeah, it’s always the smallest mistakes which are hardest to find. I’ve spent more than a few hours debugging my own typos…