Glenda's Wikipedia Search challenge

Glenda's Wikipedia Search challenge
0

#1

Please give me feedback on my Wikipedia Search challenge found at
http://codepen.io/gleclark/full/yVvrpL .
Thanks.


#2

Everything works just fine and your code is good. One small suggestion, everything seems to be stacked against the left of your page. You my want to look into centering a few things, like you headers. Keep up the good work :slight_smile:


#3

Nice job!

I’ll echo what @Josh5231 mentioned and suggest looking into centering elements on the page a bit more. Two other things:

  1. Is there any reason for pushing the search results to the front of the list every time? When I search for “Car Talk” the best results, that is “Car Talk is a Peabody Award-winning radio talk show broadcast weekly on NPR stations…”, is the last item in the list. If you append instead of prepend the results the list will better reflect the best fit for the search term.

  2. Searching multiple items in a row keeps adding the results to the list. If I search for “Car Talk” and then “Jazz” the results for “Car Talk” are still present in the results list. Take a look at the empty method for a way to clear the results before searching for a new term.