API WIKI Search

Hey Guys
I wanna Know what’s wrong with my code
when I tried to search in wikipedia using API WIKI Search
This is my code

the url has a space in it around the = here -> &search = " + searchTerm + "
it gave me some data back when i removed it

Thanks alot for reply but even when I remove space nothing happen

Here you miss a “t”:
<ul id="ouput">

Thanks alot you have saved me :slight_smile: