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
https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js
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.
2 Likes
styling is not working for the resultant values of the search, any suggestions please!!