Im currently working on the Wikipedia viewer project, and I have encountered a problem.
I have the api figured out and the html is properly showing the links, but once i enter a search, if i try to search a different word the links only show up for the first search. Unless I click one of the links of my first search, the search wont reset itself.
Is there any quick fix to this?
Also, is there a better approach to generating a random word then just randomly choosing one from an array I created?