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

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

#1

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


#2

@Ace-ezer,
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:
https://www.html5rocks.com/en/tutorials/cors/

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