[SOLVED] Building wiki app but got stuck in the middle

I am trying with wiki app, but I couldn’t get any response on clicking the button, should I need to add any library?

You haven’t imported jQuery yet.

yup, tried by adding this

then also not working.

The jQuery bits are working but there are other errors as well. You can see error messages in the browser console (you can open it by hitting F12 on your keyboard).

The console says:

Blocked loading mixed active content “http://en.wikipedia.org/w/api.php?callback=jQuery3210165872667302002_1516189980479&action=query&list=search&srsearch=magic&format=json&_=1516189980480”

You should replace http with https in the Wikipedia URL. Codepen blocks content delivered via http.


@kevcomedia Thanks much, its working fine now.

styling is not working for the resultant values of the search, any suggestions please!!