Project Link - https://codepen.io/tlannoye11/full/RgpqaZ/
I’m getting what I can only describe as “incomplete sentences” when I try to run my API call to Wikipedia. I’m pretty sure that my data isn’t being modified or truncated, thanks to various console.log statements, so I’m not sure if this is because of the API itself, or if I’m actually doing something wrong.
For example, when I search for the word “cat”, I get one sentence that reads "
of cat coat coloration, pattern, length (short, medium or long), and texture is a complex ".
Also, is there some way to sort the results that I get? Each time I click on the Go button, I get a different list of results. Sometimes the order randomly changes, sometimes it randomly adds/removes different elements.