JavaScript AJAX Basics (retiring) AJAX and APIs Stage 4 Challenge Answer

Kevin McNamara
Kevin McNamara
7,483 Points

Code not working on workspaces

Hey guys,

So I am trying to use $.getJSON() to get JSON data through Flickr's API to display a list, or gallery, of photos of animals on a site, through workspaces, when a form is submitted. I can not figure out what my error its, but here is my code:

Any help would be awesome, thanks!

1 Answer

Simon Coates
Simon Coates
28,667 Points

i got rid of the duplicate

  }); // end submit

}); // end ready

at the end and it displayed a gallery. I assume this is what it was meant to do. (unfortunately, i didn't read what the javascript was for an entered a somewhat offensive term into the searchbox. the images i got back did not make me happier.)