Wikipedia viewer (help me! i'm badly stuck)

i’ve been trying trying to get data from the api.php for a search but getting nowhere with it**.please advice.**

testing your code, I got an error that has to do with the fact that you are trying to make a request to a different domain than yours. To make a cross browser request you need to use CORS.

Read more about it here:

You can check out my project to see how I have done it: