Wiki API results not displaying

Wiki API results not displaying
0

#1

Hi! I’ve been working on this for days now, and when I click either the enter button or the search button the results from the api won’t display? Here’s the link to my codepen: https://codepen.io/bfgonzalez/full/YYGzpp

any suggestions would be greatly appreciated!


#2

@bfgonzalez,
On line 14 in your JS script file, you wrote:

function getResults() {
  //console.log("getResults is running");
  var searchTerm = $("#input").value(); <-- JQuery has not value function, but val()

I would suggest inspecting your website to help you figure out these issues.