https://codepen.io/zarruk/pen/jrByJq Hello. So I am about to finish my Wikipedia project. Make one search and then make another. Then scroll down and you'll see previous empty divs. Does anybody know a way to clear up all the divs when a new search is made?
@zarruk before you write the results to #resultados, do something like $("#resultados").empty();
@cdodds-person that worked ;) thanks!
@cdodds-person another quick question. Why is my search bar a little to the right with respect to the random article bar? Do you know?
It isn't clearing properly. lyou might look at chopping up the page with a few more divs.
@cdodds-person ok thanks. I have a question. Please look for "hola". Look at the first result. It says "Hola may refer to:". Why is that?
that's the first result that comes back in wikipedia's JSON
if you go search wikipedia for "hola" you'll get the same thing
I tried earlier but no response. Can anybody tell me why this quote generator won't generate a new quote on button click? I think I'm overlooking something basic here. http://codepen.io/quadrumane/pen/XjrKOZ/
topic: random Quote machine guys can you please help me in generating random colors on click in my js code