Help with Wikipedia Page / Sorting data [solved]

Help with Wikipedia Page / Sorting data [solved]
0

#1

Wikipedia Search

I have made it this far without help and looking at documentation. I feel like this should be the easier part. Can someone help me with sorting the api data? I am having one of those moments where I am so tired that I can’t think clearly. Mainly this part:

            for (var i = 1; i < data.length; i++) {
          for (var j = 0; j < data[i].length; j++) {
            console.log(data[i][j]);
            var x = document.createElement("li");
            var t = document.createTextNode(data[i][j]);
            x.appendChild(t);
            document.getElementById("iTitle").appendChild(x);
          };
        };

I can get all the data posted and I will go back and correct the css so it scrolls and looks presentable later on. I want the results to post similar to this (if I searched for test):

"Test" "Test, TEST or Tester may refer to:" "https://en.wikipedia.org/wiki/Test"

Figured it out. I don’t know why that had me stumped.