When I press search, sometimes the results appear for a millisecond and then disappear and the page reloads, or either the results don’t appear at all and the page reloads. When I console.log the data, I get the correct everything, so something must be off with the part which should display the search results correctly, but the problem is that, I don’t even get a single error in the console.
Thank you very much, it worked like a charm. Maybe you could also tell me, why some of the other Wikipedia Viewer Apps manage to display everything without using the e.preventDefault();