Need help for my Random Quote Machine Project

Hi, everyone.

I just recently did the Random Quote Machine project.

I only have one issue, i keep on getting undefined in the twitter page.

Can anyone help on this?

U can view my code at


Hi, SkyC,

I dont quite understand what you mean…

"Your quote is not in scope in the function where you do your

In this chunk of code:

    $.getJSON(url, function(data) {
      $(".quote").html('"' + data.quoteText + '"');
      $(".author").html("-" + data.quoteAuthor);

You write the quote to the page. "

Thanks for the href portion.

Hi, SkyC,

I took your advice and it’s working as I wanted it to now.

Thank you very much for your prompt response and patience.